Better http error messages.
Redirect to documents list page and flash error when a document has not been found.
Merge branch 'not_found_documents'