Add hooks for 403, 404 and 500 error pages...

Closes #43 to add hooks for 403, 404 and 500 error pages...