Changed tests to pass in IE8.
Converted dojo/_base/Deferred to intern.
Parser tests WIP
Parser test cleanup

- Mark more globals in jshint
- Move fixScope to a utility module
- Fix some broken tests in IE