replace </head> matched by regex
new Mocha needs suiteURL function from original reporter
Merge pull request #53 from tarobomb/master

fix mocha-plugin for recent versions of Mocha