Polyline

I added support for the polyline object. Maybe the best way to do this support though is through an extension of the polygon object. I hope to hear your opinion on this.