feat #1617 Adds cache system for the export of a gallery.

All zip files are on a cache folder, gallery-cache, at the
root of the project, removes all zip files if the size of
the cache folder is bigger than the value specified in the
settings file and removes current zip file if it exists and
there isn't new images in the gallery.