Add HTTP error codes to 404 and 500 pages

Closes #63