NetworkManager: openresolv support

@iElectric This fixes up openresolv support in NetworkManager. IIUC, it will update your pull request #1828 if you pull it into the PR branch. I have tested, and this gives me correct DNS settings through openresolv; NetworkManager never touches `/etc/resolv.conf`.