lua : create a function to delete films

film:delete([force])

if force is not true and the film is not empty, will raise an exception
lua api : better checking of errors in cross-ref
lua wiki : create better anchors
lua api : remove debug printf
remove and document the unused flag DT_IMAGE_THUMBNAIL flag
tiff: compression correctness fixes
noiseprofiles: Nikon 1 V1/J2/S1 should have the same sensor as the J1
tiff: lets stick to deflate instead of zip

in the commercial imaging ecosystem deflate is often referred to as zip

however in open source software deflate seems to be used (in for example gimp)
(cherry picked from commit 2f0d0d52c6627e57ba60085ff0dfcda6bf9952c0)
shadows&highlights: a more reasonable low approximation limit for color adjustment

this prevents within s&h some of the typical artifacts in highly saturated blues
(black pixels). the original threshold for low approximation was insanely high.
legacy history stacks are processed like with the old value in order to keep results
consistent. you need to reset the module in these cases to take advantage of the improvement.
Update French translation.
lua : add a field indicating if the autopresets have been applied
lua : fix ipairs not working properly

this issue only affected master. no backport needed
lua : add a function to reset an image, removing all history


dt_lua_image_t:reset()
Revert "lua : add a field indicating if the autopresets have been applied"

This reverts commit 6f0aaa025fcf76e1ebe2fa966f520dae075ce5c4.

Conflicts:
	src/lua/image.c
	tools/lua_doc/content.lua
[l10n] Swedish update
lua : add a function to remove an image from the database

dt.database.delete(image)

or

image:delete()
lua : add a function to move an image

dt.database.move_image(film, image)
film:move_image(image)
image:move(film)

this moves the image file, the associated XMP and the XMP for
the duplicates to the directory pointed by the film
lua : add a function to copy an image

dt.database.copy_image(image,film):image
image:copy(film):image
film:copy(image):image