Bump Rails to 4.1.7

See
http://weblog.rubyonrails.org/2014/10/30/Rails_3_2_20_4_0_11_4_1_7_and_4_2_0_beta3_have_been_released/.
Update gems
Bump RuboCop to 0.27.0