Make clearDocumentCache() public so it can be used in test.

https://github.com/couchbase/couchbase-lite-java-core/issues/257