Add dependancy check & install

- remove quotes from networking files
Add MAC address repair function
mac repair enables 'onboot' parameter
Moved netaddr import check
Re-write replace function

- remove quotes from testfiles
Add regex for yes|no pattern
add pattern search condition to replace function
uncomment network restart