Only add the rspec task when in development and test mode

Add to stop our Go build from trying to require the spec_helper file.
rake by itself seems fine on travisci, which was the main reason for the initial change, so that should be cool.

I'll get rid of ENV['RAILS_ENV'] as your suggestion is more succinct.