closes #1311, set category post counts to 0 before starting upgrade
added new hook for notification pushing