Fix #322 Cannot push a document with an attachment

* Fix the contentOptions operation.

* Add ReplicationTest.TestPushPullDocumentWithAttachment()
Merge pull request #323 from couchbase/issue-322

Fix #322 Cannot push a document with an attachment