Generic framework for tracking subscriptions to things and emitting notices to subscribed users