correct aggregate cursor functionality

handle limit appropriately for aggregates.  A few things were broken.

Needs a fix in libbson as well