return proper 404 code for 404 pages, closes #17