revert global flag change
I had changed the global flags variable to only be those that are global
this broke some compatibility with piping from stdout into the binary.
also:
- binary specific configuration details have moved into the same map but
in main.go. only the configDir is OS dependent.
- a new key in the map is for the version so each binary can have their
own