Change dependency of the gem to support Rails >= 3.1 and update CHANGELOG and README