minor changes to Commander class
removed some redundant code
other minor changes
commands now inherit global options from parent commands
fixed inheriting global options
fixed in-place command construction in Commander::addCommand()
beautify