fix(notifications): Better threading + resolve html entities decoding issue

* [x] Make Travis happy
* [ ] LGTM from 3 Elgg owners (@Srokap, @ewinslow, THREE)

Fixes #6894
Is it going to be a problem to have ids starting with `</.entity.123...` ?