Clean up pack/unpack API
Pack and unpack the startkey/lastkey
Merge pull request #15 from Obvious/nick-key

Pack and unpack the startkey/lastkey