Move ip_matches and ip2int to Bcfg2.Utils.