Port some updates to getting started guide for Rails 4 from master

Porting the changes from 757e985, 404c1a3, 714bb17, and 092b952.