Multiple users and groups in snaps

Note: the currently implemented parts seem to be documented here: System usernames