Remove obsolete -getConflictingRevisionIDsOfDocID: method

This TDDatabase method had a SQL syntax error and wouldn't run.
But nothing ever called it anyway, so it's best to just delete it.
(This was reported as https://github.com/couchbaselabs/TouchDB-Android/issues/59 )
Added TDStartServer function

Provides a simple way to start TouchDB and get its root URL, so clients don't have to mess with the TDServer and TDURLProtocol classes.
Ideally this should be the only public API exported from TouchDB.
Proper handling of SSL server trust authentication

TDRemoteRequest and TDConnectionChangeTracker now examine the trust of
SSL servers (NSURLAuthenticationMethodServerTrust).
This fixes a problem where TDConnectionChangeTracker would fail to authenticate
if the server cert didn't match the hostname but the user had added custom trust
for it.
Oops, make previous commit compile on iOS.
avoid overriding authorization header if no authorizer is specified

If Authorization header is set via 'header' property and no authorizer is set, the header is override by setAuthorizer.

[Originally by @robin, modified by @snej so that setting a nil value will correctly remove the authorizer.]
Byte-range request support, and other TDRouter improvements

* Support 'Range:' header (this is important for large attachments and media playback).
* Better parsing of complicated 'Accept:' headers (this was breaking QuickTime playback).
* Add "Cache-Control: must-revalidate" response header the way CouchDB does.
* Avoid copying response data in TDHTTPResponse: it slowed down large attachments.
* TDRouter logging now shows request URLs and headers.
Fixes #125.
allow changes of "headers" and "auth" in replicators
Fix bogus (negative) retry delay in TDChangeTracker

It would keep retrying immediately instead of with the desired exponential backoff.
Fixes #129.
TDRouter's request logging now shows length of body
Removed some //TEMP bits that snuck in

Lines commented with //TEMP are temporary hacks that shouldn't be committed, but I missed some...
Fixes #130.
Fixed link to FMDB repo in README.

(Thanks, Nico)
Add more logging of view querying
Allow local client to discover filesystem path of attachments

A HEAD request to an attachment, via a touchdb: URL, will return a 'Location:' header containing the filesystem location of the attachment.
There will be a 'Content-Encoding: gzip" header if the attachment file is gzip-compressed.
For potential security reasons this _only_ works over touchdb: URLs, not via TouchServ.
Fixes #127.
Merge pull request #128 from robin/robin-dev

allow changes of "headers" and "auth" in persistent replication settings
Alternate 'http:' URL scheme for AJAX apps

WebKit won't send HTTP bodies to URLs that don't have 'http' or 'https' schemes.
Work around this by making an alternate root URL that TouchDB will recognize:
In addition to <touchdb://HOST/>, also <http://HOST.touchdb./>.
Fixes #134.
Support for filter params in push replications

...and also in _changes feed requests.
Fixes #132.
Write attachment MIME bodies in an order CouchDB will understand

In a multipart PUT, CouchDB expects that the order of the attachment MIME bodies is the same as the order in which the metadata objects appear in the JSON _attachments dictionary.
Go to some extra work to make the orders match.
Also add extra headers to attachment MIME bodies (Content-Length, Content-Type, Content-Encoding).
Fixes #133 (I hope) and possibly some other bugs too...
Fix new leak in TDReplicatorManager

Introduced by commit 997bb36.
Fix JSON collator bug comparing numbers

Comparisons of numeric JSON values could sometimes randomly be wrong,
due to garbage digits past the end of the input strings.
Fixes #138.
Added TDView.mapContentOptions property

This enables the map function to see special doc properties like _update_seq.
Fixes #139 (when combined with the change I'm about to commit to CouchCocoa.)