Auto-create users from githook too in "host" authentication mode
Add utility function for creating a user

Inserts a row into the 'users' table, and, if an email address was
specified, a row into the 'usergitemails' table.

Use this utility function from criticctl's adduser command, and from
critic.main() where it auto-creates users in "host" authentication mode.