unify reporting API

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