Updated to latest qunit

Replaced some deprecated functions, ensuring all tests fixed and
running.