Let resolvconf 'restart' the nscd service instead of 'reload'ing it.

Sometimes nscd starts up before a /etc/resolv.conf file has been written, and
apparently triggering a cache flush (reload) is not good enough to make it
recover from that problem. To remedy the issue, we restart the service instead.
See <https://github.com/NixOS/nixos/issues/34> for further details.
modules/config/networking.nix: strip trailing whitespace
Enable sudoedit
Create an empty /etc/resolv.conf to shut up nscd
Revert "Use the new net.ifnames kernel command line flag to disable persistent interface names"

As @edolstra pointed out, this behavior is not equivalent to what we had
before as the kernel command line parameter won't take effect until the
next boot. Probably it's not likely that someone will make this change
and then add a network card before rebooting, but might as well support
that since we can.

This reverts commit f7563698dfcc4621cc996142b046c6a4941e68ec.

Signed-off-by: Shea Levy <shea@shealevy.com>
xbmc: Use /var/run/lirc/lircd as lirc socket

The latest version of the lirc daemon uses /var/run/lirc/lircd, not
/dev/lircd that xbmc uses as default.