Tests: Replace resource loader with AMD

:boom: WIP...

Pulll request's goal is to AMDify tests for 1.12.0 release and address part of http://bugs.jqueryui.com/ticket/10119.


@rxaviers No. Doing that will likely break tests because you would be doing something different (triggering a focus event through jQuery instead of natively focusing the element).