Added event if pagetype changes

If the pagetype changes, the plugins have to clean up its data. The
first plugin is RedirectorPlugin which performs a clean reset of a pages
"non-redirect"-status