Add a filter for widget classes when updating user's last activity.

This will allow plugins to register themselves so BP Widget Cache can
invalidate their widget.