Update to Rails 4.0.2.

This resolves a number of security vulnerabilities.
Merge pull request #23 from rjackson/security-updates

Update to Rails 4.0.2.