add active tasks collector

Change-Id: Id92742b2f1dea82e2b877ef1933a1f20e03048ba
Reviewed-on: http://review.couchbase.org/24432
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>