java/wildfly10: add support for status command and remove pidfile on shutdown.
While I'm here, fix whitespace, and add APP_SHORTNAME to the console
output to make it clear who is doing what.
PR: 220513
Submitted by: soumar@linux.fjfi.cvut.cz
Approved by: maintainer timeout