added cancel callback
if key is undefined don't serialize it in request to couch
Merge pull request #239 from ryedin/master

minor ui tweak + bugfix for pagination w/o a key