Fixes #1 and #3

I wrote tests for almost everything (except createWriteStream since that will perhaps be deprecated in future levelUp versions), I discovered a bug in the process ( issue #3 ) and fixed it.

Let me know if this is ok and perhaps publish a new version of level-prefix to NPM.