Updated OpenLayers output format to include OL3.

- Added ENABLE_OL3 property (disabled by default) to control OL2 vs OL3
- Browser detection to detect older browsers and revert to OL2