Add polygons

I am using leaflet-rails, and I want to use not polyline but polygon api in Leaflet.js.
So, this pull request enable to use polygon api.