Check maintenance mode before loading apps in route matcher
Disable loading of backgroundjobs js when upgrade is needed
Merge pull request #2057 from owncloud/upgrade-fixes

Upgrade fixes