CS-4543: Unnecessary error reporting exposed on front-end templates.

Validates APPLICATION_ENV, sending errors to view only if in development mode