handle bad polygons

if a polygon coming from geonetwork is too long to process for some
browsers it will be truncated and openlayers will not return a proper
geometry
move initialbbox parameter to config file
move autozoom parameter to config file
Merge pull request #1471 from aodn/handle_bad_polygons

handle bad polygons
Jenkins version bump
move enableDefaultDatelineZoom and defaultDatelineZoomBbox to config file
remove proxy and proxyPort config options
remove searchUsingBboxByDefault from config options
remove unused config options

 * westWidth
 * headerHeight
 * footerHeight
 * activeLayersHeight
move popupWidth and popupHeight to config file
remove unused config options
 * downloadCartFilename
 * downloadCartMaxNumFiles
 * downloadCartMaxFileSize
proper mocking of variables in js testing
move downloadCartDownloadableProtocols to config file
move metadataLayerProtocols to config file

remove unused metadataLinkProtocols
remove unused footerContentWidth config option
move footerContent to config file
consolidate geonetwork search requests

fixes #1470
move mapGetFeatureInfoBuffer to config file
factor long config path into variable
revert b8f0c5, fix minimap loading

using buffer 0 for openlayers maps causes maps that are defined only
within the -180 180 lon to not display nicely around the date line, this
is apparent when loading some minimaps