Support opening a database with a custom VFS.
Merge pull request #16 from wjl/open-with-vfs

Support opening a database with a custom VFS.