added help and status commands

switch structure enables many commands seamlessy.
also added some help and status command.
added help and status commands

switch structure enables many commands seamlessy.
also added some help and status command.
enable usage with CLI interface

Added option to use the status.php with console.php via CLI
replace ident spaces with tabs
Merge pull request #4642 from masakik/master

Minor enhancement to console.php