Gerrit interface to a global-refdb

Global ref-database interface for use with Gerrit Code Review.

Enables the de-coupling between Gerrit, the multi-site plugin and the different implementations of a globally shared ref-database.

Design

The design for a global ref-db interface for Gerrit has been posted to the Gerrit Code Review project for review.