Added support for create_table :as, which fixes tests MigrationTest#test_create_table_with_query and MigrationTest#test_create_table_with_query_from_relation
Clear the schema cache for a table after creating it to prevent a cached negative response - fixes test ActiveRecord::Migration::ChangeSchemaTest#test_change_column_null
PersistencesTest was renamed to PersistenceTest in rails 4.1, so we have to do it in our codebase also
Use Arel::Nodes::BindParam instead of Arel.sql for substitute_at so that ActiveRecord::Relation merging works properly - tests RelationMergingTest#test_merging_reorders_bind_params and RelationMergingTest#test_relation_to_sql
Coerced test for ActiveRecord::PredicateBuilderTest#test_registering_new_handlers since the regex doesn't work for T-SQL
Fixed test NamedScopingTest#test_scopes_honor_current_scopes_from_when_defined by adding a second column to the ORDER BY condition of the :ranked_by_comments scope of the Post model
Added savepoint name param to create_savepoint, release_savepoint and rollback_to_savepoint