add  tests/cbl-revisions.js

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