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.
A couple of things - first if you run this bare as `rake` or even `rake spec` it won't work unless you explicitly specify the `RAILS_ENV`. Second, as the rails environment is already loaded you could check `Rails.env.development? || Rails.env.test?` instead.