CMake: build examples

Change-Id: Ib4c29dd928f39ea4c85d918b4198fc96c5be3767
Reviewed-on: http://review.couchbase.org/42905
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>