Reworks to support SQLCipher - note that remaining SQLCipher dependencies and binaries required in client app to work