fix mocha-plugin for recent versions of Mocha

Mocha now expects a `suiteURL` function as a property on the reporter, so we just make Mocha.BrowserStack inherit it from the original reporter. Also fixes the \<head\> patch to close the right tag.