Demos: Use AMD loader

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