Updated OpenLayers output format to include OL3.

- Added ENABLE_OL3 property (enabled by default) to control OL2 vs OL3
- Browser detection to detect older browsers and revert to OL2
Merge branch 'master' of git://github.com/geoserver/geoserver