Verify that revisions with identical content have the same rev id.

https://github.com/couchbase/couchbase-lite-java-core/issues/164
Added test for behaviour of attachments not being push replicated for new document revision if only JSON body is updated.
Some build fixes

* Fixed a typo that broke the iOS build
* Add CBLAuthenticator.h to framework headers directory
Fixed regression where unchanged attachments get re-sent on every push

Fixes #326
Merge branch 'feature/issue_326'
Merge pull request #324 from couchbase/cblite_java_issue_164

Verify that revisions with identical content have the same rev id.
Fixed: WebSocket _changes feed wouldn't connect over SSL

It would try to connect over plain HTTP and fail, because I put the
-startTLS: call too early.
Also, I enabled cert hostname verification, which is an important safe-
guard against MITM attacks.

Fixes #332
Fixes #333