collection: add mongoc_collection_aggregate_legacy().

For MongoDB server versions < 2.5.0, we need to use a legacy implementation
that will return the result document. This allows the consumer to
access each of the internal documents.
collection: set BSON_GNUC_WARN_UNUSED_RESULT for allocated results.