Low: jboss: add output_thread_dump()
Low: jboss: add wait_process_exit() to remove redundancy code
Low: jboss: add finished message of start and stop
Low: jboss: skip the unnecessary processing at the time of the JBoss stop
Low: jboss: cosmetic changes

- replace tabs with spaces
- improve indentation
- Delete unnecessary spaces
Medium: jboss: add jboss_version parameter to support JBoss 6

The usage of JBoss was greatly changed as of JBoss 6, and also
the appropriate default values have to be set for each version of JBoss.
You need to specify the version of JBoss manually
because there is no reliable way to detect the version of JBoss.
Medium: jboss: add run_command parameter to change the start up script
Medium: jboss: stop the JBoss daemon by sending a signal on JBoss 6

The stop script shutdown.sh no longer exists in JBoss 6.
Instead, sending SIGTERM is the proper way to stop the JBoss 6 daemon.
Medium: jboss: add jboss_base_dir parameter to support multi-instances on JBoss 6
Low: jboss: jboss_home is no longer unique in the multi-instances configuration based on jboss_base_dir
Low: ocft: jboss: add test case for jboss