Added default and allowed values for database collation and character set
Changed method to check for existance of database. Old method handles situations, when there is "_" in database name very bad
Fixed failures when collation or character set for database are not set or has wrong values