CBLT-84: add  JavaScriptCore.framework
         in   github.com/couchbase/build/tree/master/tools/iOS/bin/JavaScriptCore.framework
         from https://dl.dropboxusercontent.com/u/14074521/JavaScriptCore.framework.zip

Change-Id: I7ef6d2e5aa79ed99518576cd1525cad6a9a6c0be
CBLT-84: add  JavaScriptCore.framework directly

Change-Id: Id70317e2052f953bd0ef0d582a3a854543251812
CBLModel now supports remaining scalar (int/float) property types.

Added support for 64-bit integers and 32-bit floats.
Added unit tests for all scalar types.
Thanks to Žymantas Paulauskas for the 64-bit support!
Clear cache and save models when database is closed

Clearing the cache breaks a ref cycle that caused the db to stay in
memory until its doc cache got purged by the OS, at which time a
deadlock was possible. (Fixes #164.)
TDReplicator keeps track of what server type it's talking to

Specifically it remembers the "Server:" response header.
This can be used to conditionally use REST API extensions that only some servers support.

Conflicts:
	Source/CBLRemoteRequest.h
	Source/CBL_Replicator.h
	Source/CBL_Replicator.m
_bulk_get implementation

Calling nonstandard REST API that speeds up pull replications.
Only used with compatible servers, i.e. Sync Gateway for now.
https://github.com/couchbase/sync_gateway/wiki/Bulk-GET
Fixes #45.
Save some memory while pulling

Toss out the parsed NSDictionary form of CBL_Revisions that have been pulled and
are waiting to be inserted into the db, leaving only the JSON.
Fix unit tests on iOS (wrong constant for M_PI)
Only use _bulk_get if sync gateway version is >= 0.81

Fixes #28
CBLDatabase should close if another thread deletes the database.

Fixes #169 (I think)
Tweaks to the README
Made CBLModel work with Capitalized dynamic property names
Merge remote-tracking branch 'upstream/master'