common refactor more #878

cleaned up common, refactored into getters and setter functions

added new constants for GSDEFAULTLANG
new param for i18n for output customization when token not found
Changed SUPPRESSERRORS to GSSUPRESSERRORS

No global support yet for overrides, $LANG etc.