Make a refresh pass of all file at the start of the import process.

This way if we discover some new files, at least we can more easily track
them.
Implement a fuller log reader

This the helper to get a partial log for the repository or the full log
up to a ref/tags/branch head.

This will also permits more robust test for the importer and observe the
resulting import and see if it correlate with what we wished.