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

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