Added sync_exchange using a sequential mechanism for sending and
receiving docs. INCOMPLETE for now.

Updated todo.

Made target_generation and target_trans_id optional in GetDocumentResponse message.

Added doc_rev attribute to GetDocumentResponse.

Added sequential send and receive docs in sync_exchange. Incomplete now.

Fixed protobuf tests wrt new changes.