Rewrite of the notifications system

It also reintroduces the possibility to turn auto-refresh on and off,
both with the constructor or setter.
Documentation, please.