Fix the data adapter with sync 2.x.
Fix the data adapter with sync 2.x.

Changes were made to accommodate the following external changes:
1) Sync instructions using object type names rather than table names.
2) Column indices no longer matching property indices due to the hidden
   object ID column.
3) Object store's `PropertyType` enumeration diverging from core's
  `DataType` enumeration.

Note that arrays of primitives are still not supported by the data adapter.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core