Adding sudos to commands so that when we eventually switch away from running lighttpd as root, things will still work...

Also fixing a bug in update_setting that was trying to access a uci setting that didn't exist