Core: listener exception handling (#481).

A WebApplicationException thrown by a event listener reach Jersey.
This allow plugins to produce specific HTTP responses by throwing a WebApplicationException.

Close ticket 481.