Enhance mocking test framework

https://github.com/couchbase/couchbase-lite-java-core/issues/257
Add testAttachmentsDeletedOnPull()

https://github.com/couchbase/couchbase-lite-java-core/issues/257
Add debug logs to test