Add cmake dist target

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