change the way context is passed between manifest and other controllers to fix bug with authenticated forms and manifest creation
hide offline-enabled icon if there are errors during appCache updates or initialization, closes https://github.com/modilabs/enketo/issues/606