Start of user group membership work

Adds the REST API plumbing for user group membership, and
a user_groups_get() method of the DB API that queries the
M:M mapping table.

Addresses Issue #32