Simplify jmx connection configuration & enable setting the connection path

I started trying the jmx plugin, and checked that it was not possible to set the connection path in the way that it was implemented.

So the proposal is to handle two things in this commit:
- Enable setting the connection path
- Have a single configuration for jmx connection url (host & path are extracted from it)