[TravisCI] Patch `rake db:fixtures:dump` task to work in Travis

- Fix ActiveRecord connection to use Rails.env, as described in the
  rake task description, instead of being hard-coded to :development.
  Travis apparently sets RAILS_ENV to 'test', so db:migrate loads up the
  test database. But db:fixtures:dump was hardcoded to development,
  hence causing it to fail.

- Fix skipped tables from 'schema_info' to 'schema_migrations'. This was
  changed in Rails since 2.1:
  http://api.rubyonrails.org/classes/ActiveRecord/Migration.html

- Ensure that test/fixtures directory exists before dumping.

In general fixtures are a pain to manage, especially when the project
gets bigger and test coverage increases. It's much better to ditch them
altogether and use a replacement like factory_girl or machinist later
down the road.
Merge pull request #337 from crowbar/jamestyj-db-fixtures-dump

[TravisCI] Patch `rake db:fixtures:dump` task to work in Travis
Added IP address allocate/deallocate for crowbar 2 w/code review changes
Merge remote-tracking branch 'crowbar/master'
merge
Merge pull request #340 from cdearborn/pull-req-master-b7222f4a3a627ff940c8bb813a5a647f48c8f952

I’ve reviewed Chris’ pull and it looks fine.  I can build and install an ISO.

Some of the tests are not passing for me.  Rather than keep trying to tweak them, I’m going to accept the pull and fix the tests I can with my next pull request.  I cannot tell right now if it’s me or the pull.

It’s possible that some of the tests will remain broken until Chris can look at them.
merge w/ Chris' pull
tests and bdd passing (except user)
small tweaks do that run-unit-tests works better with BDD