WIP for SqlitePCLRawStorageEngine

Locking db so when registering collation functions.