Let Footer listen to events "onChange_selectedDSD" and "onChange_selectedDS"

to close permalink button if it still open
Load retrievedObservations and numberOfMultipleDimensions on start up (in PHP)
Dynamiclly set visualization container height
Small hack, to set the height of the jQuery dialog overlay correctly (one and a half screen height)
Fix index problems for DSD and delete old code
Fix showVisualization button (re-render visualization, if still on indexAction)

- change format of retrievedObservations from array to object
VisualizationSelector: Fix switching between visualizations

- fix broken CSS
- directly attach click event to selectorItem instead using CSS class
"cubeviz-visualizationselector-selectorItem"
Move code for setup visualization container height to renderChart

- now you can use for instance developer console, switch back, and after you
render the visualization again, the height will be adapted
Change "close and update" button title
Revert DataCube_Observation.loadAll change (removed callback), now with callback again

- without this revert it caused an infinity loop if after you pressed "close and apply"
button
- move linkCode and observation updating to readAndSaveSetupComponentDialogChanges
Calculate numberOfMultipleDimensions and numberOfOneElementDimensions on the server

- in the case if no link code was given
Simply some code parts
Set number of X dimensions after change someting in setupComponent dialogs + let VisualizationSelector listen to onReRender_visualization global event
Re-implement Pie.ts
Fix chart title generation and fix selection of default chart class
Show dongle if click an selector item
Show dongle if options are available to show