Combination commit from work committed on SVN

------------------------------------------------------------------------
r8542 | dnahodil | 2012-11-20 13:49:29 +1100 (Tue, 20 Nov 2012) | 2 lines
Changed paths:
   M /portal2/trunk/grails-app/views/home/index.gsp
   D /portal2/trunk/web-app/js/portal/common/FacetedSearchActionColumn.js
   M /portal2/trunk/web-app/js/portal/search/FacetedSearchResultsGrid.js

- Removed icons from faceted search results panel
------------------------------------------------------------------------
r8548 | dnahodil | 2012-11-21 09:21:04 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/grails-app/conf/Config.groovy

- Turned controller logging down from debug to info level
------------------------------------------------------------------------
r8553 | jburgess | 2012-11-21 14:07:55 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/web-app/js/portal/ui/PortalPanel.js

Remove unnecessary nesting.
------------------------------------------------------------------------
r8554 | dnahodil | 2012-11-21 16:11:33 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/grails-app/controllers/au/org/emii/portal/DownloadCartController.groovy
   M /portal2/trunk/grails-app/controllers/au/org/emii/portal/MotdController.groovy
   M /portal2/trunk/grails-app/services/au/org/emii/portal/CheckLayerAvailabilityService.groovy

- Removing printlns
------------------------------------------------------------------------
r8555 | dnahodil | 2012-11-21 16:12:56 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/grails-app/controllers/au/org/emii/portal/LayerController.groovy

- Fixed incorrect error output
------------------------------------------------------------------------
r8556 | jburgess | 2012-11-21 16:29:00 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/grails-app/views/home/index.gsp
   A /portal2/trunk/src/test/javascript/portal/common/LayerDescriptorSpec.js
   A /portal2/trunk/src/test/javascript/portal/data/LayerStoreSpec.js
   A /portal2/trunk/web-app/js/portal/common/LayerDescriptor.js
   A /portal2/trunk/web-app/js/portal/data/LayerStore.js

Refactoring around layer descriptors/openlayers/layer store.
------------------------------------------------------------------------
r8557 | jburgess | 2012-11-21 16:30:10 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/src/test/javascript/portal/details/AnimationControlsPanelSpec.js

Removed log.
------------------------------------------------------------------------
r8558 | dnahodil | 2012-11-21 16:49:17 +1100 (Wed, 21 Nov 2012) | 2 lines
Changed paths:
   M /portal2/trunk/web-app/js/portal/search/FacetedSearchResultsGrid.js
   M /portal2/trunk/web-app/js/portal/ui/MainTabPanel.js
   M /portal2/trunk/web-app/js/portal/ui/Viewport.js

- Allow adding of layer from faceted search result panel
------------------------------------------------------------------------
r8559 | jburgess | 2012-11-21 17:31:11 +1100 (Wed, 21 Nov 2012) | 2 lines
Changed paths:
   M /portal2/trunk/src/test/javascript/portal/common/LayerDescriptorSpec.js
   M /portal2/trunk/src/test/javascript/portal/data/LayerStoreSpec.js
   M /portal2/trunk/src/test/javascript/portal/ui/MapPanelSpec.js
   M /portal2/trunk/web-app/js/portal/mainMap/map.js
   M /portal2/trunk/web-app/js/portal/ui/MapPanel.js
   M /portal2/trunk/web-app/js/portal/ui/PortalPanel.js

Cut unused code from MapPanel.
Fixed/migrated some tests (still a few that aren't passing).
------------------------------------------------------------------------
r8560 | jburgess | 2012-11-21 20:52:02 +1100 (Wed, 21 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/src/test/javascript/portal/common/LayerDescriptorSpec.js

Updated/fixed broken tests.
------------------------------------------------------------------------
r8561 | jburgess | 2012-11-21 21:05:03 +1100 (Wed, 21 Nov 2012) | 2 lines
Changed paths:
   M /portal2/trunk/web-app/js/portal/common/LayerDescriptor.js

Removed trailing comma.
Removed unnecessary (and inconsistent local variable).
------------------------------------------------------------------------
r8565 | dnahodil | 2012-11-22 12:56:21 +1100 (Thu, 22 Nov 2012) | 3 lines
Changed paths:
   M /portal2/trunk/grails-app/domain/au/org/emii/portal/Server.groovy
   M /portal2/trunk/grails-app/services/au/org/emii/portal/CheckLayerAvailabilityService.groovy

- Avoid NPE when infoFormat is null
- Added new option for getFeatureInfo infoFormat in Server. Can now select 'image/png' as an option
------------------------------------------------------------------------
r8566 | jburgess | 2012-11-22 13:56:56 +1100 (Thu, 22 Nov 2012) | 1 line
Changed paths:
   M /portal2/trunk/grails-app/views/home/index.gsp
   M /portal2/trunk/src/test/javascript/portal/common/LayerDescriptorSpec.js
   A /portal2/trunk/src/test/javascript/portal/ui/openlayers
   A /portal2/trunk/src/test/javascript/portal/ui/openlayers/LayerOptionsSpec.js
   A /portal2/trunk/src/test/javascript/portal/ui/openlayers/LayerParamsSpec.js
   M /portal2/trunk/web-app/js/portal/common/LayerDescriptor.js
   A /portal2/trunk/web-app/js/portal/ui/openlayers/LayerOptions.js
   A /portal2/trunk/web-app/js/portal/ui/openlayers/LayerParams.js

Introduced LayerOptions and LayerParams classes.
------------------------------------------------------------------------