Moved the create rectangle functionality from the CreateObjectTool to the new CreateRectangleObject class
Created a new base class for scalable objects like rectangle and ellipse
Implemented CreateEllipseObjectTool
implemented CreateTileObjectTool
Implemented CreatePolygon and CreatePolylineobjettool
Virtual methods should not be called in the constructor
Made createNewMapObject pure virtual and removed unnecessary position parameter
Created virtual template methods for the mouse callbacks which are only called while an object is in creation
Added license header
fixed case sensitive includes
Fixed the code to adhere to coding style
Fixed indentation and removed const qualifier from boolean parameters
Merge pull request #751 from zilluss/polymorphic-mapobjects

Polymorphic mapobjects
[Flare Plugin] Fix coordinate format for import and export

Flare expects object coordinates to be in tiles instead of pixels.
Conversions have been added for Orthogonal and Isometric maps (the
2 that Flare supports).

The export function now writes the orientation of the map. This isn't
used by the Flare engine itself, but it is used when importing Flare
maps into Tiled.