Test that Database.addChangeListener is idempotent

Test for couchbase/couchbase-lite-java-core#221.