Make API of raster sources more convenient

This PR adds `@api` annotations required for the raster layer synchronization.

getProjection on ol.source to test 4326 and 3857 sources.
ol.TileCoord required for passing to tileUrlFunction
TileGrid exports getMinZoom() but not getMaxZoom()