Update Appraisal to use Rails 4.0.0.rc1
Encoding comments for MRI 1.9
Deletion in delta updates uses connection pool, spec matches.
ActiveRecord 4.0 has renamed active_record to base_klass.
Ignore preloaded indices for unit test.
Fixing deprecated default_scope syntax.