Add better errors to project for easier debugging in dev mode.

Having an in-browser REPL when things go wrong is nice. They should really bundle this into Rails.