Add consume() ability and event emitter.
Add QUnit helper to reset spies

Reset spies after QUnit tests complete.