Add maintenance mode as suggested in #278
Merge pull request #472 from sekl/feature/offlinemode

Add maintenance mode as suggested in #278