Re-implemented binary storage format (content and flags) from Couchbase Java 1.x SDK.

Added new BinaryDocument and BinaryConverter to access Couchbase via plain Java objects.
Added unit and integration tests for new converter.

Change-Id: I1034443cdded728ec9a44933ad0241381dd2a027