explicitly set charset / collation of database when installing + new integrity-check-function to validate the database charset / collation and optionally fix it; fixes #1426

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>