Merge pull request #8 from jhs/version-compatibility

Version compatibility
Rename the dir() file to a more general purpose place
Move mkdb to the misc library
Run: npm --save install string-range
Support a "sublevel" string parameter instead of an actual replicator database
Emit a "change" event when a change is committed
XXX Fri May 23 16:25:44 UTC 2014