Bugfix when deleting customer
Merge pull request #83 from anbrosius/bugfix-1058

Bugfix when deleting customer, fixes #1058 fixes #758
escape database name when converting to UTF-8 as it may contain a dash or similar character that needs escaping, fixes #1172

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