Add some more docstrings to `common` members
Add method for passing flags between commands

In `common.CommandBase`, add `registerParentFlag` method for passing
parsed flags of a command to a subcommand.