Upgrade Rails to 4.1.0

Upgraded Rails to its latest stable versions, w/ related dependent gems upgraded additionally.

Afterward tests show "402 examples, 1 failure", with the failure being the one commented with "@huacnlee提醒说在某些环境下面，下面测试会Pass。所以有可能在你的测试环境会失败。".