Add cb_assert()

Change-Id: I11f1a6c8d95968040c80ddd87d6b43ace4f45c7b
Reviewed-on: http://review.couchbase.org/34581
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: buildbot <build@couchbase.com>