Replace PerodicUpdate with notifications
Created by: dagurval
This removes the expensive PeriodicUpdate call from application loop.
PeriodicUpdate would iterate through every subscription by every client and re-calculate its status to look for differences.
The new code calculates which subscription need update and notifies each RPC connection. If, and only if, a client is subscried will it re-calculate its status.