First step in BIG restructuring of event model and notification system:

Changed to new event model that works better.
Added warning state.

Improved notification system by changing notification interval settings,
and adapting them to the new events.
Updated forms to new fiels.
Renamed Service.service_config to config
updated documentation
Updated service plugins to new exception model.
Remaining refactoring work.
Updated service checker task to new exception model and states
Fixed syntax errors