Update indexes at query time

Update documentation to explain when indexing is done
Merge pull request #76 from cloudant/30106-update-indexes-at-query-time

Update indexes at query time
Fix typo in ChangeLogLevel Macro
Prepare for 0.10.0
Add source line to prevent CocoaPods warning
Declare version number in one place: version.h

Also return platform and version number in user agent header
Merge pull request #70 from cloudant/common_version_number

Declare version number in version.h
Include modulemap file to support module-enabled projects
Revert "Include modulemap file to support module-enabled projects"

This reverts commit 2564c7c9f0c4bb1c1b3f30fc3a91daa3333ba5eb.
Podspec cannot refer to separate files

It looks like podspec files are pulled and processed by the pod tool
without the Version.h file in place. This cause the `File.read` command
to fail.
Restore unintentionally deleted tests

Restores tests that were accidentaly deleted
during the purge of old API specfic tests

Also removes test that deletes a document
revision from conflict resolution as this
is currently not supported
Merge pull request #68 from cloudant/restore_deleted_tests

Restore unintentionally deleted tests
Added .clang-format file

Added .clang-format to specify the code format for the project.
It relies on the tool clang-format. clang-format is not shipped
in xcode command line tools. To use clang-format inside xcode
download and install clangformat-xcode
https://github.com/travisjeffery/ClangFormat-Xcode

Updated contirbuting to add insturctions on setting up
xcode to use clang-format
Merge pull request #81 from cloudant/clang_format

Added .clang-format file
Allow setting certain HTTP headers for replication

Allows one to set optional HTTP headers for replication during the configuration
of an individual CDTPull/PushReplication object. This does not set these
headers globally.  The optional header property is found in the
CDTAbstractReplication class (which now conforms to NSCopying protocol).

Fixes a bug in TD_DatabaseManager.m that prevented headers to be set via
the 'properties' NSDictionary object used to create TDReplicator objects.

Adds tests for HTTP headers during replication

ReplicatorURLProtocol inherits from NSURLProtocol and is
used to gain access to all NSURLRequests made during replication.
This class passes the NSURLRequest to a delegate that tests the headers.
Merge pull request #80 from cloudant/36445-Expose-TDReplicator-requestHeaders

Adds ability to set optional HTTP headers in requests made during replication
Fixes test in ReplicationAcceptance.
Updates project files with newer version of Cocoapods.

These project files were updated by
1. pod install in Project/Tests/ReplicationAcceptance
2. Changing the Deployment Target to 10.10 and then back to
     original setting

The Tests/Podfile was updated as instructed by the cocoapods
command-line tool.
Merge pull request #83 from cloudant/fix-projects-with-latest-cocoapods

Updates project files as modified by newer version of Cocoapods.
Pin CocoaLumberjack version

Pin CocoaLumberjack version to 2.0.0-beta3 because 2.0.0-beta4 has removed
macros relied upon.