Move start of the maintenance mode to the ajax call

Make sure the update page is shown in a browser. And not an ajax request
Connect watcher failure function to the failure signal
Also check for needed upgrade in the Sabre Maintenance connector