Fix EncryptedSQLStore

@secondsun @qmx @abstractj Could you review that? 

To build that you will need build [core](https://github.com/aerogear/aerogear-android-core) and [security](https://github.com/aerogear/aerogear-android-security) modules locally first
this.database would be sufficient.  (Can you also fix it in SQLStore?)