Use /etc/sudoers.d/ to avoid overwriting /etc/sudoers

This pull request changes both the text and GUI installer so that the sudo rule is written to `/etc/sudoers.d/installer`. This avoids having to overwrite `/etc/sudoers`, which contains many comments and settings that may be useful to users.