Fixes #491: use previous module name for moduleDone callback when tests are complete

When running tests in a single module, the moduleDone callback would not have the correct name if it was not the last module, since config.currentModule contains the name of the next module. If config.previousModule is passed instead, it works correctly when running all tests in all modules, or running tests in a single module.