allow to set pre-condition for setValue
use oc_preferences instead of oc_encryption to store encyption settings
adding unit tests for encryption data migration
Merge pull request #8483 from owncloud/encryption_use_oc_preferences

[encryption] use oc preferences