Core: Pass total amount of tests to QUnit.begin cb

Fixes #350.

Pull for docs is coming
/cc @jzaefferer