Merge errors and warnings to notifications

and encode errors.

TODO: client side error code to error mesg decoding

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>