some GUI changes to Geographical search
Merge branch 'master' into geographical_facet_gui
Fixed some issues with the geographic boundary facet

Moved the assignment of the navigation and zoom controls to the panel itself rather than
within the map config controls array. Ensure that the map is zoomed to the initial extent,
adding the zoom control makes it head to Africa for some reason so added a call to
zoomToInitialBbox.
Removed polygon self intersection check

Turns out our searches can handle polygons that intersect themselves so rather than
checking for that scenario and having all sorts of handling code that attempts to be
intuitive about informing the user of an invalid polygon when it intersects itself we
now just allow searches to be run against those polygons.
Clear the geometry filter before adding another

If a geometry search had been performed and then a new bounding polygon entered and search
selected again an array of polygons was being submitted, this is not desired behaviour (yet)
and currently causes spatial search to yield no results due to exceptions.
DRYing code up

Introduced a `constant` for the geometry field and added a test to catch
the value being changed from the expected value `geometry`. Shuffled a
few lines of code to ensure certain methods were only referenced once
and all logic flow passed through the same path.
Added 'View' button to FacetedSearchResultsGrid.

Can add an icon easily if we like (with CSS styles.
Display map and extent in search results

Currently a map of a simple base layer zoomed to the extent of a bounding box as can be
calculated from geonetwork geoBox values
Changes required to fix broken FacetedSearchResultsGrid jasmine specs

The onClick method had been removed and some specs were dependent on it
(cherry picked from commit 2b5287646216829460c6f20015d651697059371d)
Display a larger map and return a bounding box for search results
Attempt to calculate the map extent from search result bounding box
Display bounding box on search results map
Merge branch 'geographical_facet_gui' into geofacet_gui_autoextent

Conflicts:
	grails-app/views/home/index.gsp
	web-app/js/portal/search/FacetedSearchResultsGrid.js
Attempt to scale and centre the map based on bounding box size

This is an intermediate commit so I can recall a lot of code that is about to be deleted
as it seems that using the map.setCenter method will achieve what we want but there is
some code here that could be useful to recall if we decide that the bounding box should
determine the size of the extent.
Centre and scale search results map on metadata bounding box

Use the centre of the bounding box from the metadata and call the map.setCentre method with
a zoom level to size the map.
Calculate zoom level based on bounding box

Use OpenLayers to determine the best zoom level for the map based on the desired bounding
box but use some upper and lower bounds to prevent too much or too little.
Merge pull request #263 from aodn/geographical_facet_gui

I am doing this merge so we can deploy the portal for demo on Monday. Review changes will be made on master.