Utilize gocbcore-exposed common flags transcoding methods.
Utilize gocbcore-exposed common flags transcoding methods.

Change-Id: Ib32f09185d143139c559288341434505a8b7fe52
Reviewed-on: http://review.couchbase.org/74934
Reviewed-by: Mark Nunberg <dab05a0fe859c5cb93882b2a75a0d613501b07be@couchbase.com>
Tested-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>

brett19/gocb