Various fixes for jQuery UI 1.10.3 upgrade

Hi,

We are currently working on validating the upgrade to the new version of wiQuery and we spotted a couple of bugs. We created this pull request so that we can centralize the work on it and inform people that we are working on it.

We are working this week on the subject so we will update this pull request with:
- various fixes
- an update to the demo application so that we have more components in it

This is a work in progress so feel free to comment on our work and help.

We will notify you when we consider our job done so that you can check that everything is OK and release a 6.9.2.