Use rename rather than unlink for a safer dbcompact.
Windows fixes.
Windows debugging.
More resolve/join swaps.
Appveyor bump.
Merge pull request #607 from mapbox/windows-redux

Windows redux
Merge branch 'master' into safer-dbcompact
Remove test debugging. [skip ci]
Merge pull request #606 from mapbox/safer-dbcompact

Use rename rather than unlink for a safer dbcompact
Merge branch 'master' into tmp-copy

Conflicts:
	test/middleware.test.js