Add relations between RemoteHead and Repository in the database backednd.
Add relations between RemoteHead and Repository in the database backednd.

This creates Repository.remote_heads and RemoteHead.repository
relations.

ebroder/anygit,ebroder/anygit