fixed logic that calculates app state to correctly account for active globalLang
fixed urls that reference the api running on the same host as the frontend
improved how 'hostname' and 'selfRoot' variables are set in a way that's compatible with both client and server rendering. normalized a bunch of l10n strings
l10n string fixes