SERVER-5932 Aggregation returning a cursor

related tickets:
SERVER-8261 System for commands to return cursors
SERVER-10165 aggregate() helper should return cursor

Conflicts:

	src/mongo/db/commands/pipeline_command.cpp
	src/mongo/db/cursor.h
	src/mongo/db/ops/query.cpp
	src/mongo/db/pipeline/pipeline_d.cpp