Don't register or update achievements events if plugin is being deactivated

Fixes PHP notice with unset DPA_DATA_STORE constant.
Clear pending notifications if an admin un-rewards a user's achievements. Fixes #96