swap jQuery with $ inside closure

* since autoasync was put into the closure with named arguments, all the
checks for "x instanceof jQuery" stopped working.  They have been
changed to "x instanceof $" which is passed into the closure.  This
fixed the bugs related to that check.
fix validation to encapsulate jquery object

* this fixes bug that el.is does not exist.
* this bug may be due to using a later version of jQuery that changed
behavior of $.each.  The second parameter used to be a wrapped jQuery
object already.
update versions of external reference scripts

* jquery 1.6.2 to 2.0.3
* jquery ui 1.8.14 to 1.8.24
* jquery validate 1.8.14 to 1.10.0