some reordering, cleanup

Includes the avahi fix(pull request #59), use restarted for services, reorder hostname keepcache, /etc/hosts cleanup, set dns nameserver and search domain in ifcfg, restart NM, move named to network.