Add support for notice messages.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
Use just one context and use lock for notice messages also.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>