ENH: #593, add col header justification option
Also refactored globals into a single global class instance of format config parameters. Maybe first step to externalizing into config file?

Tagging to close #593.
