Add a setExtent method to ol.Projection

so that we can set an extent to a projection that have been retrieved using getFromCode function.