[FEATURE] XML support in discovery and mapping service

Besides some cleanup this adds support for XML designators in the
DiscoveryService and MappingService classes.
Merge pull request #1 from kdambekalns/xml-designator-support

[FEATURE] XML support in discovery and mapping service