Changed the attachments API from using arrays to dictionaries, this makes the API easier to interact with.
Suppress Deprecated warnings

Suppress deprecated warnings for old API use in CDTDatastore.m and
CDTDocumentRevision.m
Order database rows for comparison

Take advantage of new ordering feature in MRDatabaseContentChecker to
order database comparison to enable test to pass on iOS and OS X
Merge pull request #49 from cloudant/document_attachments_dictionary

Change Attachments from an array to a dictionary