Close database on shutdown
Replace sys.out by logger
Close all imeji threads when shutting down
- digilib integration
-- can use w/o digilib, turn off just give an empty digilib param
- added additional imeji.properties params
--
# Whitelists
imeji.internal.video.whitelist = mp4, flv, wmv, avi, mov, mpeg, ogg,
webm imeji.internal.image.whitelist = jpg, jpeg, png, bmp, gif, tif

# Digilib config
digilib.imeji.instance.url = http://localhost:8080/digitallibrary/

# Video issue
imeji.internal.video.imagedetection.threshold = 0.3

# Pdf issue
imeji.internal.pdf.resolution.dpi = 300
--

- video integration with openimaj
-- need to add the proper maven repo and dependencies --> pom.xml
updated
Merge branch 'release-1.2.1.0' of https://github.com/imeji-community/imeji into release-1.2.1.0
- resolved pom.xml conflict & lib conflict for image hanlding in
StorageUtils.java
- added some params to the imeji.properties file
- added another image snapshot grasping method for video handling

Signed-off-by: Hai Nguyen <h.nguyen@fu-berlin.de>
- some cleaning ups
digilib integration with authentication (to be tested)
conflicts fixed
fix problem in pom for compilation
Merge branch 'release-1.2.1.0' into develop