Mutablecopy on a mutablecopy

When calling mutableCopy on CDTMutableDocumentRevision a mutable copy
with a a source rev set to the same source rev as the instance of
CDTMutableDocumentRevision which is being copied.
Merge pull request #94 from cloudant/mutablecopy_mutablecopy

Mutablecopy on a mutablecopy
Add module map instructions for Swift
Updates project with recent modification by cocoapods.
Correctly turn logging on for tests

During a class set up, do not check if it is for the CloudanTests
class being initalized, instead always set up logging.
Typo in source code sample
Add log level constants
Replace CDTLoggingLevels variable define with a declaration

Replace CDTLoggingLevels variable define in CDTLogging.h with a declaration, moving the definition
into CDTLogging.m

Modify test set up to use macros instead of setting the levels in the array itself.

Also add CDT prefix to START_CONTEXT and END_CONTEXT respectively
A couple of tweaks to docs for sorting
Swift documentation added

* Initial information on how to install and use with Swift
* Added a Swift version of the first CRUD code example
Merge pull request #95 from xpqz/master

Swift doumentation
Merge pull request #96 from cloudant/42602_make_cdtlogging_global

Remove variable define from header
Prepare for 0.12.1
Mark ReplicationAcceptance schemes shared

This should make them appear to CI servers without
having to open Xcode.
Add OS X only ReplicationAcceptance scheme

This allows for running on Jenkins without needing to have
a code signing identity, which building and running the iOS
target requires.
Fixes the example app to use the new CDTReplicatorFactory.

The the CDTReplicatorFactory -start and -stop methods have been deprecated.

Also, the example app now uses the CDTReplictor -startWithError method.