In manage_projects find group uuids sanely.

manage_projects should use a direct connection to mysql to more safely
find group uuids. Add a gerritdb module to jeepyb to handle some of the
mysql connection boilerplate, and use that module to talk to mysql
directly.

Change-Id: If05a60cd7f5e8f6978226c6785792328388469f2
Reviewed-on: https://review.openstack.org/17516
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2 files changed