PolygonEditionHelper to make polygon edition easier and more generic

Here is the PolygonEditionHelper class which contains functions to make the polygon edition easier on a wxPanel.
The SpriteObjectEditor has been adapted to use the capabilities of that new class.