medium.rb and gemfile

fixed a syntax error in medium.rb

moved rspec-rails and factory_girl_rails gems from development to test group

gemfile.lock was also modified.  not sure if i should be including this in pull requests, but you can always drop it if necessary.  let me know if it's a problem.