Making readme example match the code.
Adding test for valid geojson.
Returning a closed polygon shape to match spec for valid geojson http://geojson.org/geojson-spec.html#polygon.
Merge pull request #1 from jakeorr/master

Returning valid geojson polygon by closing the returned shape.