cmake: Fix version determination: run git from sources directory

If build directory is outside of the sources directory then
the version of product will be determined.
lua : rename function for consistancy
lua : fix len not working properly for DT types
lua : allow types to raise errors on index/newindex in a smart way.

They will be skiped on next
lua : remove a stray printf
lua api : correctly document members that are only available in a certain view
lua : backgroundjobs, check that we are available
lua : add support for the snapshot module
Merge pull request #606 from galanthus/fix_cmake_git

cmake: Fix version determination: run git from sources directory
Make the colorpicker & geotagging button labels translatable.

This is to control the casing of the button as dt style is to be
all lower-case.

For #9998.
Merge pull request #608 from darktable-org/colorpicker-translatable-labels

Make the colorpicker & geotagging button labels translatable.
email: single line body multiple export is unreadable
Merge branch 'master' of https://github.com/darktable-org/darktable
Update French translation.
email: recommend slightly large kodak style resolution
Merge branch 'master' of https://github.com/darktable-org/darktable
facebook: recommend FB_IMAGE_MAX_SIZE (2048px) resolution
Support the D100 uncompressed format
lua : get length of array from the stack and not as a parameter
lua : add a way to have an error-rising call to lua scripts