Database.putLocalDocument() had parameters reversed compared to spec.  Fix this.
Rename Revision.getParentRevision() -> Revision.getParent().  Ditto for Revision.getParentRevisionId()
Rename Replication.getDocsIds() -> getDocIds()  (fix typo)
TestHistoryAfterDocDeletion for issue 177 & 178
add TODO regarding better logging for exceptions
clean up testHistoryAfterDocDeletion() to avoid using private API calls.  once converted to public API calls it fixed the reason it was failing.
Rename TransactionTask -> TransactionalTask to match spec
Exclude QueryOptions from javadocs
ViewCompiler: mapSource & reduceSource args should just be named source
Renaming method params
Add DocumentModel object to closer match API spec
Add javadoc comments where missing
addAttachment() is now package private to match API spec
Rename setMapAndReduce -> setMapReduce
Add Javadocs
Revert "Add DocumentModel object to closer match API spec"

This reverts commit 9adc8373e67404d8e4d290521996d33f9f3caa98.
Remove Document getModel() and setModel() methods
Test case to detect issue #179

https://github.com/couchbase/couchbase-lite-android/issues/179
Fix issue #179
Merge branch 'refs/heads/stable'