rename clientFacotry -> clientFactory
Move mockhttpclient to its own class
Add a test which detects the issue in issue #108 where it's ignoring the exception and starting the replication anyway.

https://github.com/couchbase/couchbase-lite-android/issues/108#issuecomment-27812150
Fix for the issue in issue #108 where it's ignoring the exception and starting the replication anyway.

https://github.com/couchbase/couchbase-lite-android/issues/108#issuecomment-27812150

Conflicts:
	src/main/java/com/couchbase/cblite/replicator/CBLReplicator.java