First round on jsHint validation fixes. See #9927
Global functions in ome.popup.js moved to OME namespace object. See #9927
Global functions in ome.actions.js moved to OME. Added code for showing globals.
Removing unused 'createDropDown()' code from 21122ecf
Moving more global functions to OME namespace.
Moving globel functions to OME, mostly basket page
Removing global vars from jquery.tablesorter.js
Removing global 'url' var from a couple of pages.
Fix multi-selection of wells (bug from earlier commit)
Merge pull request #606 from will-moore/jshint_compliance_9927

Jshint compliance 9927 (develop)