CLC-3705 Upgrade to Rails 4.0.5

https://jira.ets.berkeley.edu/jira/browse/CLC-3705