Add event support

This PR adds the ability to post Events. Four event types are supported: info, success, warning, error. An event must have a title and text. If client Namespace is set it is used as the event source.

This PR changes client.Namespace slightly, the trailing dot should not be included anymore. It is added automatically when needed.

/cc @snormore