Replace db:test:preapre task with ActiveRecord::Migration.maintain_test_schema!

as of Rails 4.1.0

Reference: https://github.com/rails/rails/blob/4-1-stable/railties/CHANGELOG.md