JERSEY-2054 & JERSEY-2246: monitoring releases resources when the app gets destroyed
        - Monitoring sample added
        - Tests ensuring release of resources added
        - calling of ContainerLifecycleListener events modified

Change-Id: I6a256c18012034233e2c7cfd44c1f5f13fe884c8
Merge "JERSEY-2054 & JERSEY-2246: monitoring releases resources when the app gets destroyed         - Monitoring sample added         - Tests ensuring release of resources added         - calling of ContainerLifecycleListener events modified"