Notification count fixes

Supports the new format for push notifications

The UI counter-part of https://github.com/oaeproject/Hilary/pull/1023
It doesn't look like it would ever end up here