testContinuousPullRetry() fails

https://github.com/couchbase/couchbase-lite-java-core/issues/299
testContinuousPushRetry() now checks to make sure it doesn't retry indefinitely.

https://github.com/couchbase/couchbase-lite-java-core/issues/299
Reset numFailedRevisionRetries when goOffline or goOnline called

https://github.com/couchbase/couchbase-lite-java-core/issues/299
Cleanup test to use takeRequestBlockingNTimes

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