Handle missing method #add_connection in migrations

AR's Migration interface changed between 3.0.* and 3.1.*. We modify the migrations, then use `ActiveRecord::Migration.up` instead of `ActiveRecord::Migration#up` to get the tests to pass.

LOLOLOLOLOLOLOLOLOLOLOLOLOL

Ping @ydderd