add head request to base handler
fix typo
proper codes for 404 page
fix test for new 404 error
Merge pull request #495 from squirrelo/add-head-response

Add head request to base handler