JERSEY-1490: expose configuration and diagnostics MBeans

- PS2: review comments incorporated.
- PS3: test fixed
- PS4: mxbeans structure changed, MonitoringFeature changed
- PS5: rebased, MXBean method names changed, fixed bug with multiple registration for sub resource locators
- PS6: reviewed, rebased, completed support for shutdown hooks in JDK and Simple HTTP containers.

Change-Id: I4b00287a0e8427e980948c66452df852970942d4
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>