Add a ReadOnlyMode configuration for the gallery that is settable via web.config

While the mode is set the website runs in 'degraded' state where all actions that update our data model in the DB such as register new user, verify uploaded package, change email address, etc. will result in internal server errors.