fix maintenance mode for git

Ontohub::Application is not available in git mode,
as we do not preload the whole rails environment.
To get to related settings one needs the assume this:

Ontohub::Application.config ~= Settings.

-------

Should fix #835 as well as #867.