Fixes #88.

Attempting to open and existing sqlite db can generate
an 'out of memory' error as well, so the Open method
now checks to see if a database is already open.

Also cleans up TestBatcherLatencyInitialBatch to use
.NET types in lieu of Sharpen shims.
Merge pull request #101 from couchbaselabs/fixes-88

Fixes #88.