Add fill and close options for polyline

Added `fill` and `close` options to fill in the enclosed area and auto close the polyline to make a polygon.

`fill` has two optional parameters `fillColor` and `fillOpacity`.