Update user/group handling to be compatible with upstream

Be compatible with upstream commit:

eb2f44c18cb6d300e965308547d8a4dea110f519 (Generate /etc/passwd and /etc/group at build time)
Reformat users.extraUsers.bfo.extraGroups

Make a single-column list and sort it.