Allow styles to override feature geometries

With this change, application developers are able to define styles that
render a different geometry than the feature geometry. This can e.g. be
used to render an interior point of a polygon instead of the polygon, or
to render symbols like arrows along lines.
I do the same to render a hit region.  Way outside the scope here, but I think we can provide a nicer API for this (see #3050).