Clean up Scheduler and tests.
Fix timing of Scheduler tests.
Fix Function.bind polyfill to work properly on PhantomJS.
Merge pull request #47 from OneJSToolkit/xirzec/schedulerFix

Clean up Scheduler