Add a getResolutions method to ol.Projection

This implements @elemoine proposal:
https://github.com/openlayers/ol3/commit/3d0682a4d49f4ab9f1be8f7cd95bedb77ef82c68#commitcomment-2652117