added test for 2i paging.

Hey again!

I added a test for 2i paging.  The functionality made it in with the last PR, but this test should close #12.

Added async.js as a dev dependency; the 2i paging test uses it to put/del batches of keys.

Also corrected various warnings from jslint on the test file.