Add ResultLimit for query and scan.

ResultLimit limits the number of items returned from either
query or scan.  DynamoDB may return more than your limit
but the callback will only be processed N times.

Add test case for ResultLimit.