New alerts system

Improved alerts system, much more modular for each model (previous
system not modular at all). Alerts can be defined inside each page's
model itself instead of a global alert one.