Define auth_source for group.

Factored out auth_source changes from https://github.com/theforeman/foreman/pull/1328 (and https://github.com/theforeman/foreman/pull/529).

Relaxing usergroups.name uniqueness to usergroups(name, auth_source_id).