fixed a syntax error in medium.rb

moved rspec-rails and factory_girl_rails gems from development to test group