Remove `ol.RendererHints.createFromQueryData` from the library

& move it into example’s shared code.