make sure that the crypt library is loaded
introduce some encryption exceptions and catch additional error cases
Merge pull request #9662 from owncloud/enc_error_handling_master

[encryption] improved error handling