Fix network interface re-naming on Dreamplug.

After configuring /etc/network/interfaces, restart the networking service and grab the MAC addresses from ifconfig. Sort them and write out persistent-net rules for udev. (1st MAC address is eth0, 2nd is eth1.)

Tested by rebooting the dreamplug several times, and checking that the interfaces weren't swapped.