Add method to retrieve given annotation linked to object.

Method useful to retrieve annotation like modulo annotation
added at import time.
Fix class cast exception.
Fix query to load annotations.
Add tests for modulo retrieval.
Add modulo namespace to constant.
Add test to create XML annotation.
Review existing tests.
Add modulo ns to pojos and add test using modulo ns.
Fix documentation.
Add pixels to the list of supported type. Test added too
Improve Java doc.
scons: Update to version 2.2.0
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.