ported Image.createPolygon() from Flashpunk
fix formatting
Merge pull request #279 from Marc010/dev

ported Image.createPolygon() from Flashpunk