Don't include deleted/resolved revisions in conflicts
When stopping a replication, stop its HTTP requests

TDReplicator now tracks all of its active TDRemoteRequests,
so it can tell them all to stop if its -stop method is called.
Fixes #141
Limit number of revs pusher sends at once

Pusher will send revs in batches of 100 even if a huge number of revs
have been added locally since the last checkpoint (or on initial sync.)
Fixes #143
Remove obsolete warning "Encoded attachment bigger than original"
Avoid infinite regress stopping replication

Fixes #144 (I think)
Stop remote requests when replicator goes offline

Also some minor cleanup of the goOnline/goOffline logic.
Hopefully this fixes #137.
_changes was returning wrong revisions when style=_all_docs

With ?style=all_docs&limit=nnn, the results were clipped to the limit _before_ being sorted by sequence,
so the wrong set of results got returned. This screwed up a remote server trying to pull from this database.
Fixes #131
Add info about active HTTP requests to _active_tasks

New task property "x_active_requests" is an array of dictionaries.
Each dict has properties "URL" and "method" that describe the request.
Merge pull request #142 from fabien/fix

Don't include deleted/resolved revisions in conflicts
Oops, fix exception returning _active_tasks

Stupid regression introduced earlier today by d7fa11c406fb.
Fixes #145
Bump version to 0.95 (post beta 4)
Enable full iOS file encryption, and read-only database access

Ensure iOS database & attachment files are encrypted and inaccessible until the app's been launched.
(The default encryption is based on a 'device key' that can be cracked if there's physical access to the device so it can be jailbroken.
Switched to CompleteUnlessOpen encryption, which uses a key derived from the user's passcode and prevents access unless the
device is unlocked. I deliberately did not go with Complete encryption because then files would become inaccessible as soon as
the device were locked, which would break any sync or other activity while the app continues running in the background.)

While I was at it, I added a '.readOnly' property to TDDatabase and TDDatabaseManager. This enables opening a database in
SQLite read-only mode. Not generally useful but I want to use this as an option in tools for examining databases.
Honor _deleted flag of docs inserted by TDPuller

Otherwise a deleted formerly-conflicting revision could get inserted as non-deleted.
Fixes #148 (read it for the details)
Allow authorization in replicator tests
Enable new Clang 4 warnings

...and fix up two spots in the code that they complained about.

Conflicts:

	TouchDB.xcodeproj/project.pbxproj
Now using Obj-C object/collection literals.
Use new Obj-C collection subscripting syntax.
Send correct revisions in incremental update of _changes feed

When a TDRouter serving a _changes feed gets notified of a new revision in the database,
it now handles branchy rev trees properly. If the change doesn't affect the current 'winning'
revision, it doesn't emit it. If it does, it sends the new winning revision (which may not be the
same as the new revision, if the new one is a delete.)
This is part of #152 and may have something to do with #150.
Return "reason":"deleted" in response to GET of deleted doc

CouchCocoa actually depends on this, to be able to tell a deleted document
apart from a nonexistent one -- look at -[CouchRevision initWithOperation:].
Fixes #151
Fix a leak when adding an attachment to a revision.