dns: support passing integer as option to lookup()

Node 0.10 behaviour, has since been replaced by an options argument but
the ability to pass an integer, even though it's mentioned in the docs,
is not supported and some tests still use integer-arg for dns.lookup()