Merge branch 'release-1.0.1' into develop
Merge branch 'master' into develop
The next version will be 1.0.2.
e py3k-style string formatting in encode_polygon

Allows any iterable to be used, rather than only tuples, so if the arguments
have been serialised as JSON the function will still work.
Bump version number
Merge branch 'release-1.0.2'