Configuration route and Maintenance filters.

This pull request implements the "Close site" user story, via the administrative configuration interface that allows an administrator to place the site under maintenance status.

It also integrates many refactorings and changes to the codebase in order to improve testability, readability, and code metrics.