Core: Implements QUnit.skip

Fixes #637
Fixes #434
Nits: return `hooks` instead of a new empty array; add an explanatory comment.