Move getRevisionHistory() to parent revision
rename to arePropertiesAvailable()
add setUserProperties()
I noticed that nothing was closing the input stream after it was being read, which will result in a resource leak.  Closing it here.  (not tested)
add setAttachment api calls
comments regarding contentStream
Rename CBLMapFunction -> CBLMapper.  Similar for CBLReducer and CBLEmitter
Rename to CBLReplicationFilterCompiler
compileMapFunction -> compileMap
1. query.isPrefetch -> shouldPrefetch.  2.  convert to ChangeListener and ChangeEvent.
rename CBLQueryCompleteListener param name
add CBLQueryCompleteListener to ChangeEvent
CBLQueryCompleteListener -> QueryCompleteListener
Change to only require/support forward only cursor. (cherry picked from commit 440154a9 on portable_java branch)

Conflicts:
	src/main/java/com/couchbase/cblite/CBLDatabase.java
	src/main/java/com/couchbase/cblite/CBLView.java
Change to only require/support forward only cursor.  These commits should have been in previous commit.
Document.ChangeListener + ChangeEvent