Allow projects to add factories.xml config
Allow projects to switch off locale cookie

* uses setting `core.use_locale_cookie`