Let waitForDraw allow more draws needed

If 2 draws happened when only one was needed then the wait would fail
when it should have succeeded.
Merge pull request #5 from montagejs/waitfordraw

Let waitForDraw allow more draws needed
Add wheel event support for test pages.
Merge pull request #6 from asolove/wheel-event

Add wheel event support for test pages.
Merge pull request #4 from aadsm/master

Changes to timeline events and dispatch
Upgrade Jasmine, add js and html reporters.
Merge pull request #7 from asolove/sauce

Upgrade Jasmine, add js and html reporters.
IE10 doesn't have console.group. Mock it out. (This fixes about half of the IE10 test failures! )
Merge pull request #8 from asolove/ie10-fix

IE10 doesn't have console.group. Mock it out.
Mock key events should have a preventDefault(). Otherwise throws errors in KeyComposer tests.
Merge pull request #9 from asolove/key-event-prevent-default

Mock key events should have a preventDefault().
Fix createJavaScriptContext() document property

In Safari the contentWindow's document property is gone when we remove the iframe from the document.
To fix this we just clone the contentWindow and assign the document back.