GDM-206: restructure some code, so it will enable using test classes to ...

...get the output of Geotools' WmsGetCapabilities analysis

No code change.
Made a method in DiscoveryServiceImpl that can be used in a test class for printing what geotools gets from the WMS GetCapabilities.

NEEDS VOTE