core: Add zotonic_dispatch variable to the magic vars of the error template