Quoted database name, login and password for MySQL

Fixes bug#7439 - http://bugs.otrs.org/show_bug.cgi?id=7439
Installer breaks on dash in database name or database user
Fixed typo in comment, tidied
Fixed issue on PostgreSQL with DB Update script, thanks Carlos!
Merge remote-tracking branch 'upstream/master' into otrs-master