Added hooks

Added trast and untrash hooks so that the sitemap will now update when
a page is trashed or restored.