MB-8244 add currentTask to track currently executing task

Change-Id: I5d65ab1e2a959232d0a43abd410290344e343a6f
Reviewed-on: http://review.couchbase.org/27060
Reviewed-by: Jin Lim <jin@couchbase.com>
Tested-by: Jin Lim <jin@couchbase.com>