made FreeBSD network config also "resolvconf" aware, debian network code refactored