core: Update dispatch info on start and stop of a site.

Fixes #714

This seems to be the most simple solution. Downside is that on Zotonic
startup the dispatch rules are reloaded several times (for each starting
site).

(cherry picked from commit e8ef40af1d63e6e05079a74a6ee3e5c50c53b918)