Added custom error pages and set environment to production.

Closes #6.