Changes to allow WALA to support Gentoo Linux

This pull request moves the network interface restart logic into the distribution classes to make it easier to override, and then adds a Gentoo Linux (http://gentoo.org) distribution class to the script to allow the use of WALA with Gentoo.