Add a .gitignore.
Add a minimal test.  Fix the spacing metric.

Previously, the spacing metric only functioned correctly when all
manifests were taken within the same day.  Instead, get it working
even when they are far apart.