Bugfix #752 - fix JPEG upload and preview
Stay to tika-parser 1.3 to not change mimetype database
Revert "Very ugly hack for jpg files"
This reverts commit 0fb90e1a7ca0562ecea0cdab32fb7ce690ab59a5.
Fix functionality_boolean table.

Createschema and migration scripts for mysql and postgresql.