First pass at adding global parameters for all subcommands

Fixes #1032