Update travis to rails 3.
Copy database.example to database.yml before creating the database.
Refactor password retrieval
Update delayed_job