load gettext on every page
Fixes to avoid CSRF error in acceptance tests
Define CMS.URL.UPLOAD_ASSET immediately