Ability to configure an "invocation listener" in order to instrument JSON-RPC calls

It may be useful to be able to observe method invocations made into the JSON-RPC server in order that the calls can be instrumented with a metrics package.  This pull-request provides an interface "InvocationListener" that can be configured on the "JsonRpcServer" so that this is possible.