update

update mocha & sinon lbraries
runtest.html to use latest libraries, and DOCTYPE added to stop IE
dropping into Quirks mode
Merge branch 'update-tests' into win-ie