test for gt, gte, lt, lte ranges

this adds tests for the range api discussed in https://github.com/rvagg/node-levelup/issues/118

there is no implementation for memdown, but I'm getting sleepy here...