Make the scale factor of ol.format.Polyline configurable

And export the class