Fix issue with undefined translations variable.

If the view doesn't use RequestContext the `translations`
variable won't exist, and the `dictsort` filter will raise
and exception.
Merge pull request #1220 from pmclanahan/fix-404-page

Fix issue with undefined translations variable.