Options for feature readers and writers to support transforms

See #2258. This is still work in progress, because the options need to be added to other formats than GeoJSON, and unit tests are missing.

However, reviews are welcome any time because changing things is easier now than later.
This function should not be needed. As the docs say, if `dataProjection` is not provided, "features will be written in the `featureProjection`".