Split out db compact + migrate. Add tests. Close file handle before attempting unlink, refs #315.
Pin to node-dirty 0.9.9 for now.
Merge pull request #355 from mapbox/dirty-compact

Dirty compact