Extends PR #2156 with feedback to users

Adds user feedback via messages framework when a NoReverseMatch exception is raised due to missing apphook.

Fix #2156
Fix #1649