Add functions to aid additional calls in templates

Added functions to aid instantiating an adapter for additional calls
(when servers don't return all information in a single call) in
templates
Standard template improvements

Better regexs for supporting more output; Call additional nameservers if
we haven't yet reached the end of the chain