Upgrade jquery

jquery Migration library should allow plugins and existing code which is
not compatible with the latest jquery to continue functioning.
Eventually it will be removed when code/libraries have been updated

jquery.curCSS usage is not handled by the migration library so handle
that manually
Upgrade jquery-ui

Sadly this must be done simultaneously with jquery because of some
internal API usage
Fix script menu expansion as jquery behaviour seems to have changed
Fixed jQuery UI tooltip usage
Fix jQuery tabs usage

In left panel, removed tabs usage as it was not doing anything
In right panel, update with new jQuery API
Remove broken reference to jquery-ui cookie plugin
Surround individual sections with html tags
Ajax events should be attached to document, not body
Fixed quality initial selection on full-preview load
Fixed usage of 'attr' where 'prop' is appropriate

To retrieve and change DOM properties such as the checked, selected, or
disabled state of form elements, use the .prop() method.
Remove seemingly redundant browser customization
Removed defunct code from omero web tagging form
Fix old style tooltips for basket share/discussion
Remove defunct tooltip properties
Merge pull request #3016 from dpwrussell/jquery_update_migration

Jquery update migration (Part 1 of n)