Add coding guidelines
Format coding guidelines better
Add MutableDocumentRevision and associated new Datastore methods:

* createDocumentFromRevision(MutableDocumentRevision rev)
* updateDocumentFromRevision(MutableDocumentRevision rev)
* deleteDocumentFromRevision(DocumentRevision rev)
* deleteDocument(String id)

Also update documentation including README.md and doc/crud.md
Allow mutable documents to be returned from ConflictResolver:

- This required a refactor of the DocumentRevision class hierarchy:

  - DocumentRevision becomes minimal parent interface of
    BasicDocumentRevision and MutableDocumentRevision

  - Almost all existing usages of DocumentRevision change to
    BasicDocumentRevision

- Also ensure that attachments are correctly set for the new winning
  revision

Also fix transactionality of attachment handling:

New prepareAttachments method makes it easier to prepare attachments
and split out prepared and already-saved attachments, before starting
a transaction and committing them to the database.
Fix tense of documentation:
"If the document was" -> "If the document is"
Merge pull request #35 from cloudant/33239-mutable-document-revision

Add MutableDocumentRevision and associated new APIs.

Also allow ConflictResolver to return MutableDocumentRevision as well as existing DocumentRevisions.
Fix bug where default constructor wasn't public
Preparing for 0.7.1 release
Bump version number after release
Compile sync-core using the android tool chain
Added missing depandcies, now compiles on android. Added gradle wrapper
Tests running on android

Tests can now be built and run on the android platform
Added task to generate gradle wrapper
Work on getting tests running on android, fix fixture loading
Add missing android permissions, convert basicDatastore tests to use TestUtils for fixture loading
Add AndroidTest project for testing inside an Android app
Run all tests on android via app
Tests all running on android larger tests commented out inorder to pseed up run time, large number of failures
Commit missing new files from last commit
Add task to upload fixtures to device