Fix most of the broken tests in oldIE. Build order issue.

- attr requires val for attaching to the nodeHook as a valHook for buttons
Make the attr handles a little more readable (+4 bytes)
Update Sizzle: minor change to a test (oldIE must set defaultChecked on creation)
Use window.QUnit to detect the top window when loading with AMD