Updates for use in Rails 4.

Renames vendor to app.