Update polygon.class.js

Now polygon Top and Left can be setted in the contructor call or calculated by the points.
Update polyline.class.js

Mirror polygon changes
Update polygon.class.js

!options..left would fail in case of left = 0.
Merge pull request #1639 from asturur/Polygons-and-Polylines-top-and-left-property-precendece

Polygons and polylines top and left property precedence