Allow read-only configuration

Workaround required for IIS setups running ownCloud to prevent dataloss.

Long-term solution would be to move some configuration settings to the database
Merge pull request #12419 from owncloud/read-only-config

Allow read-only configuration