Add class collection_async.

The collection_async class uses a internal thread to aggregates
its buffer concurrently. the parameters 'limit' and 'max_size'
sets the limit of resources to aggregate at one and the maximum
size of the buffer.