Move global setup back out to global context
Move global setup back out to global context

`topdir` and `msgfile` are used globally and only depend on local
file system layout. Move them out of the command line parsing function,
back to global context.

This makes `github-commit` no longer depend on command line parsing.

saab-simc-admin/workflow-tools,saab-simc-admin/workflow-tools