Upgrading to rails 4

Also updated the urls in the mailer to reflect the new home of the app
at mentoring.devbootcamp.com.

Somebody feel like sanity checking this to make sure it all works?
I fixed the broken tests but am not familiar enough with the app to be
100% certain I caught everything.