Escape URL in 404 page

This fixes XSS when going to a non-existing page.
Merge pull request #659 from pinodex/patch-2

Escape URL in 404 page