Add trap to remove tmp files from JBoss AS.

Set standalone-debug to be executable so that we can invoke directly on
it. For some reason "bash standalone-debug.sh" prevents the traps from
working properly.
Execute correct standalone.sh script from within standalone-debug.sh. Fix CLI to wait for trap (to print output)
Remove test deployment from main/resources