Fixed object drawing order for image saving and mini-map

Currently objects are always drawn top to bottom. For the regular map
view this is taken care of by setting the 'z' property of the items
to their 'y' coordinate. However, when saving as image or when rendering
the mini-map, the objects need to be sorted manually.
Fix library directory order

This moves path to -ltiled before system library locations, fixing the
case where libtiled from (older) installed version of tiled is
picked up instead of newly built one.
Ignore mac build artifacts
Fixed some plurals in English translation

The actions on polygon points were not translated yet. These are needed
for proper plural handling.
Fixed line widths when zooming in Qt 5

The grid and selection lines are not supposed to be affected by the zoom
level. In Qt 5, the default QPen width changed from 0 (which is
independent of the current transformation) to 1.
Merge branch '0.9'
Improved interface for rotating objects

The logic was reimplemented in ObjectSelectionTool. This allowed for
rotating objects around their center as well as rotating multiple
objects together.

Sponsored-by: Ben Wales
Rotate objects around their center instead of the bottom left

This makes the implementation a little bit more complicated, but it
should be more intuitive overall.

This change is mostly about changing the interpretation of the
'rotation' attribute and is not backwards-compatible. However, rotation
support was added recently so I don't expect anybody to depend on the
previous behavior. Eventually the transformation origin could also be
made configurable, if there is a need for that.
Implemented moving objects with arrow keys

By default the selected objects move by pixel. The Shift modifier speeds
it up to move by tile (or by subtile when fine grid snapping is
enabled). The Control modifier causes the event to be ignored, so that
it can be used to move the view.

This behavior is similar to that seen in Inkscape and GIMP.

Closes #342

Sponsored-by: Ben Wales
Don't handle keys while moving or rotating with the mouse

The undo stack gets confused when that happens.
Unduplicated the duplicate and remove objects actions

Also shared the implementation of moveObjectsToGroup by moving that
function into MapDocument.
Fixed the absolute paths in the desktop file

The application icons now install into the system icon theme. This also
results in the system always picking the best available icon to display.

To make installing simpler (and to make the names more consistent) the
icon files were moved into the folders of their resolution.

Fixes #383
Fixed the absolute paths in the desktop file

The application icons now install into the system icon theme. This also
results in the system always picking the best available icon to display.

To make installing simpler (and to make the names more consistent) the
icon files were moved into the folders of their resolution.

Fixes #383

(cherry picked from commit 9aeac457bb7f98f5d3987164a74b8445dd9977c7)
Added python scripting support
Build dependency now only if pkg-config or python-config present
Some cleanup, use QDirIterator
Cleanup
Exclude Python plugin project entirely when no Python is found

Signed-off-by: Samuli Tuomola <samuli.tuomola@gmail.com>
Some clarification
Mappy .FMP v0.3-1.0 import support