Use explicit app namespaced name
Migration check differences in Rails 4.0 & 4.1+

In Rails 4.0.x add `ActiveRecord::Migration.check_pending!` to the top
of the rails_helper file after Rails has been required. This will raise
an exception if there are any pending schema changes. Users will still
be required to manually keep the development and test environments in
sync.

With Rails 4.1+ there was an exciting new feature. Users no longer need
to keep the development and test environments in sync. To take
advantage of this add `ActiveRecord::Migration.maintain_test_schema!`
to the top of the rails_helper file after Rails has been required.
Set secret key for Rails 3 & 4.0
Update Travis-CI migration commands

The engine contains migrations for the annotator_store_annotations and
annotator_store_ranges table which need to be created in the
application's database so that the engine's models can query them
correctly. We now copy these migrations into the application. Only copy
over migrations that haven't been copied over already
Test command is ok unquoted like the rest