masks : delete masks on history reset
Hopefully fix a deadlock while shooting tethered

Credits for the fix go to Jo :)
temperature: kelvin is high, introduce kludge factor
(cherry picked from commit 7a194eb4777caa8f8dd5f9944924911cbd248a0b)
wb_presets: Copy Samsung NX5/NX10/NX11 from NX100
(cherry picked from commit 7c0afce9f8da197f41702e160fbde834ed672d3a)
cleanup: removed dead code.
ratings: press 1 to toggle 1 star (avoids moving right hand from mouse to 0)
ratings: fix string for 0 stars.

`desert' was the name for clicking on no user interface element on the image, not the 0 rating.
Enable ctrl-d to duplicate on lt by default
gettext: fix but that was resetting purple color label collections in non-english language.
Fix Lightroom flip orientation.

Do not try to use the flip from the crop iop as it seems to be not
working in some cases. Instead of beeing smart we now simply use the
orientation module to rotate the image if needed. This anyway simplify
the code. Also make sure that the atof() is locale independant as
lightroom always store the float values with a dot as decimal
separator.
Don't mess with the locale when parsing strings

Changing the locale to make atof treat '.' as the decimal separator is
not thread safe and therefore to be avoided!
Merge pull request #241 from darktable-org/lua_review

lua : add events
(cherry picked from commit 85a44115d007e4081eb8ef4f5502a2f0277ad1dd)

Conflicts:
	src/common/exif.cc
Merge branch 'master' of https://github.com/darktable-org/darktable
lua : add a way to export images directly with format objects

<format>.write_image(format,image,filename)

will export the image to filename using format.

this call is blocking. Another function will be provided to queue images at some point
mask manager : add a way to cleanup unused shapes
image information: double click on film roll jumps to that as collection.
jump-to now with key accel (ctrl-j)
recentcollect: now also remembers position in collection.
recentcollect: accel ctrl-k to jump back to previous collection.