Add ids to the share and revision tables

I want to make the table search in the integrations move specific.
Add integration tests to the repository browser

I believe this covers all the features of the browser except for:
* viewing a non-text file
* uploading a new file

There is a TODO makers for each of these features, and I hope to
re-visit them in the future.