Merge settings & return enviroment
so it's easier to check if the user has configured his app for the given
environment. If not, raise EnvironmentMissingError