Add support for Jersey 2.x

This PR adds support for Jersey 2.x using a custom [RequestEventListener](https://jersey.java.net/apidocs/2.5.1/jersey/org/glassfish/jersey/server/monitoring/RequestEventListener.html) for recording runtime metrics of annotated resource methods.