Set RAILS_ENV to test during spec run.

Currently the development DB is wiped out by a spec run, causing devs to
have to `rake db:seed` to continue development work.
Merge pull request #1 from calumhalcrow/use-test-env-during-spec-run

Set RAILS_ENV to test during spec run.