Added the ability to set the database connection Charset
Changed DB username and Password config varialbe to use ' instead of " to avoid issues with $... in the username or password beeing interpreted as a PHP variable