Extends PR #2156 with feedback to users

Adds user feedback via messages framework when a NoReverseMatch exception is raised due to missing apphook.
Message is visible only to staff users when toolbar is active.

Fix #2156
Fix #1649