Update OpenLayers

This PR updates OpenLayers in the project.

The coordinates order in ol.Extent has changed in ol - we went back to the standard `minx, miny, maxx, maxy` order. This PR includes a number of changes to accommodate this API change in ol.

I've tested the application in Chrome in both dev and prod modes, but it's possible that I've missed places where the order of extent coordinates should be changed. More testing should probably be useful.

Please review and test.