Issue #219 - add debug logging

https://github.com/couchbase/couchbase-lite-android/issues/219
Issue #219 - was not waiting for the remoteRequestExecutor to terminate.

This change did not fix anything, but seemed to be more correct use of the API.

https://github.com/couchbase/couchbase-lite-android/issues/219