<oo-admin-ctl-cgroups> whitespace fixes

Fixing up whitespace prior to code fixes
<oo-admin-ctl-groups> Fix typos in echo statements

Stray "$" found its way into the start of some echo (cut n paste?)
This commit fixes them
<oo-admin-ctl-cgroups> Fix return value handling, code fixes/refactoring

This commit updates the script functions to properly capture return
codes from subcommands. The code has been refactored to accumulate
return codes in function-local variables and pass the accumulated
values via returns, instead of using global vars.

startall has been modified to properly react to the return code from
add_cgroup failure

Added optional parameter to usage string for status command
<oo-admin-ctl-cgroups> Bug 964205 - add "repair" command

This commit adds a new command to oo-admin-ctl-cgroups called
"repair". This command identifies users which lack a cgroup and
creates a cgroup for them. It can be called with an optional username
argument (or a quoted space-separated list of usernames) to restrict
the action to a specific subset.

The "restartall" command remains functionally unchanged - this will be
addressed in the next commit
<oo-admin-ctl-cgroups> Bug 964205 - prevent stopping already stopped cgroups

Modified stopuser() to check if the cgroup for the specified user has
already been stopped, and echo a useful message if that is the case
instead running cgdelete and generating "file not found" noise
<oo-admin-ctl-groups> Bug 964205 - fix set_blkio function comment to be more accurate
Bug 968279: Fix jboss[as|eap] java7 marker detection
<oo-admin-ctl-cgroups> Bug 964205 - amend comments for cgroup_exists function

Made function comment more "standard" according to advice from @markllama
Merge pull request #2671 from ironcladlou/bz/968279

Merged by openshift-bot
Merge pull request #2640 from dobbymoodge/oo-admin-ctl-cgroups-debug

Merged by openshift-bot