add better errors to project for easier debugging in dev mode.
Merge pull request #169 from botandrose/better_errors

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