Refactored namespaces
Bugfix on large data sets

Mongo's map-reduce will reduce a large dataset multiple times, so the
reduce function must be idempotent (in the fn programming sense of the
term)
Merge pull request #96 from cndreisbach/cache-aggs

Two changes to caching aggregations