Upgrade Rails to 4.0.9

Latest security patches, and staying up to date.