Implement common DNS NAPTR/SRV/A/AAAA resolution functions
Code review update (and fix up logging to remove long paths)
Merge pull request #31 from Metaswitch/sto622

[Reviewer Matt] Implement common DNS NAPTR/SRV/A/AAAA resolution functions