Re-add replication.getDocIds()

https://github.com/couchbase/couchbase-lite-java-core/issues/307
Merge branch 'release/1.0.3.1' into stable