on posix, add a sigint handler to dump state so far
Merge pull request #3570 from jrgm/auto-test-run-all-sigint-handler

for auto-tests run-all.js, on posix, add a sigint handler to dump state so far

@jrgm, you have no idea how long I have wanted this. r+