Add copyright headers

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