fix a missing static on a once_init
correct aggregate cursor functionality

handle limit appropriately for aggregates.  A few things were broken.

Needs a fix in libbson as well