ceanup encryption code, improved return codes
Merge pull request #8676 from owncloud/encryption_improvements

cleanup encryption code, improved return codes
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