new helper function to make a directory owned by $user - saves mkdir followed by a chown
when replacing ini file key/values - in the case of multiple keys (section based ini files), replace the last one only. Saves throwing a sed error. Ideally we would be able to handle ini files with sections properly
added new $configdir variable as a shortcut to $root/configs
move mame4all data folders to $configdir/mame4all
make new rom folders for mame artwork and samples