settings-backup updates

Refactor code.
Fix grepping for new packages
Fix autoinstall handling
Simplify MACADDR handling by setting to nomac if no mac found
Check if backup dir actually exists as a dir

add root .profile to backup list