Upgrade to rails 4.1.0

Change-Id: Idb827c944e787d80d82b5819439d9017c403958a