Use ActiveRecord::Migration.check_pending! if available; prevent Test::Unit's AutoRunner from spinning up during RSpec's rake task