Based on https://github.com/ModelN/grunt-blanket-mocha/blob/master/support/mocha-blanket.js