custom error pages

Adds custom 404 and 500 error pages. 

Fixes #107.