Captures any error or uncaught exception in production and hides those e...

...rrors from view.

Fixes #501