add ongoing replication into the hooks

Change-Id: I803ee4053ceb5da3f869f9a7c9075e45922e06ec
Reviewed-on: http://review.couchbase.org/37728
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>