Fix switch case for date case
Merge pull request #11 from ddoolin/patch-1

Fix switch case for date case
Handle exceptions on invalid query

* Added try/catch block and called done to nicely return exception to user.
Add tests

* Renamed exception name from e to err
* Added tests for invalid criteria
Removed unneeded newlines.
Replaced unneeded test with check for resultSet.
Merge pull request #15 from RWOverdijk/hotfix/crash-on-query

Handle exceptions on invalid query
add .npmignore
0.9.4
Added support for simple KV pair operations, including expiring keys.
  - New kv-pair operations: setWithTTL(), set(), setTTL(), get(), remove()
allow people to add an opError listener and use right connect listener
add listeners