Allow for query settings chaining

This change makes it easier for developers to set the options on
a query. For example,

Query query = view.createQuery().setLimit(10).setDescending(false);
CBLT-252:  use env.vars: MAVEN_UPLOAD_USERNAME, MAVEN_UPLOAD_PASSWORD, MAVEN_UPLOAD_VERSION, MAVEN_UPLOAD_REPO_URL

Change-Id: I95b888fa4a834afb7b0e71dadfa32f094e872175
Fixes issue #92

https://github.com/couchbase/couchbase-lite-java-core/issues/92
CBLT-252:  remove references to mavenLocal()

Change-Id: I103a5a03f212f73cb7470bb855e4a372dd8bbafe
Issue #106 - this change fixes lower level unit test

https://github.com/couchbase/couchbase-lite-java-core/issues/106
Issue #106 - this change fixes routertest unit test

https://github.com/couchbase/couchbase-lite-java-core/issues/106
Issue #10 - was doing null check on wrong object.

https://github.com/couchbase/couchbase-lite-android-liteserv/issues/10
Fixes Issue #10 - convert Collections.synchronizedXXX to using concurrent collections such as ConcurrentHashMap

https://github.com/couchbase/couchbase-lite-android-liteserv/issues/10
Issue #136 - workaround for nullpointerexception

https://github.com/couchbase/couchbase-lite-java-core/issues/136
CBLT-252:  RESTORE mavenLocal()

Change-Id: I718e4136ab52b76568983e0eca344fd82e0e4713
Fixes issue #29

https://github.com/couchbase/couchbase-lite-java-core/issues/29
Fixes Issue 138

https://github.com/couchbase/couchbase-lite-java-core/issues/138
Fixes issue 139 - Auth credentials shown in logcat logs

https://github.com/couchbase/couchbase-lite-java-core/issues/139
Add COLLATE REVID and restructure jni libraries

UPDATE CREATE Table statement by adding COLLATE REVID to revs.revid and localdocs.revid. Move jni libraries to couchbase-lite-android repo
CBLT-252:  every build.gradle mentions 3 maven repos -- central, couchbase, local

Change-Id: Ia30a3953f25bf285680f521262fc456792db3a88
Add comment regarding change tracker continuous mode
Fixes issue 247 for remote requests.

Changes feed fix still pending.

https://github.com/couchbase/couchbase-lite-android/issues/247
CBLT-252:  only mavenGlobal() and mavenLocal()

Change-Id: I415ea72a7981fad6908d576e5f32a76cc02b7be0
Fixes issue 247 for changes feed.

https://github.com/couchbase/couchbase-lite-android/issues/247
Issue #247 - enhance code to cover recoverable IOExceptions

https://github.com/couchbase/couchbase-lite-android/issues/247