integrate code coverage

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