Name Resolution priority change

My NAS has multiple interfaces which provide samba shares on different independent networks.

nmblookup returns all IP but XBMC only get the last one. If this IP is the not on reachable from XBMC client network, source scanning does not work. Therefore, this patch prioritize IP lookup by DNS to nmblookup.