Add tests for CBL's cached properties getting changed by clients

One test for couchbase/couchbase-lite-java-core#228, and another that demonstrates that clients can give a map to CBL, then change that map, and it clobbers what's in CBL's cache.