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