hid/gtk: Focus file save dialog at exit to "Save", not "Close without saving".

Avoids inadvertently loosing work when closing the application. "Cancel" would
also be a safe choice of default focus, but the choice of "Save" is copied from
gedit to help give better platform consistency on Gnome systems.
png: add explicit round() calls to the scaling

After this commit the tests pass on both 32- and 64-bit builds.
Hopefully this time it's really dead; the previous "fix" af27c2d
by myself merely increased the DPI of the output, but this one
attempts to get deterministic rounding behaviour.

Tests from folks with actual 32-bit machines are welcome.

Closes-bug: lp-860037
polygon.c: Readability cleanup for frac_circle()
Fix some broken assumptions regarding 32-bit integer coordinates in polygon1.c
[plugins] Let git ignore stuff.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added autocrop.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added boardflip.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added distalign.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added distaligntext.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added elementupdate.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added findelement.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added findrat.c

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added join-found.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Added jostle.c.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
[plugins] Compile plugins.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
[plugins] jostle.c: change tab with spaces.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
[plugins] Added lockelements.c.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
[plugins] Added polycombine.c.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
[plugins] Added polystitch.c.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
[plugins] Added renumberblock.c.

Signed-off-by: bert <bert.timmerman@xs4all.nl>