Backport from Square Squash: Introduce blobs<->commits association.

Track blobs<->commits so we can easily mark blobs as loading during a
commit import, and mark them as not loading once the import is finished.
Mark blobs as not loading once a commit finishes
Bugfix for metric specs
Fix broken repository fixture
Spec fixes