Adding a restriction on the number of rows inserted in a single batch.

Fixes #974
Refactoring BuiltInDataTypesTest and TransactionTest
Made the InMemory provider to match tables by entity type name
Disabled BuiltInDataTypesTest for ATS due to #965

Fixes #789