Stability and extra flexibility

Added support to:
- close crashed database
- delete database from local file system
- open an encrypted database using sqlcipher for iOS

We are using this version (along with sqlcipher) for the databases in our current iOS app at work. It is still in testing at the moment, but it appears stable.