MultiRepos: Changed the primary key to identify a repository in the database from the `reponame` to a surrogate key `id`. The `reponame` is now contained in the `repository` table, in the "name" entry.
Warning: This changeset introduces a database upgrade.