Make the scale factor of ol.format.Polyline configurable

And export the class
Merge pull request #2101 from fredj/polyline-factor

Make the scale factor of ol.format.Polyline configurable