Add a function to an app to be run before any subcommands are run

Useful for things like loading a config file needed by all subcommands, but whose name needs to be specified as a global option.