Makes ChangeTracker thread safe per Issue 39

https://github.com/couchbase/couchbase-lite-java/issues/39