Add ol.View2D#getZoom

This PR adds a getZoom method to the ol.View2D class.