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