Add getCentroid to L.Polygon, center scaling action around it

Also include some beginnings (?) of polyline replacement