feat(aggregate): add function aggregate(pipeline, options, callback) to BaseRepo