Added intelligence check for valid CHARSET value

Since mysql refers to CHARSETS in lower case and without dashes, the library will take care of converting and uppercase dashed values to lowercase no-dash values. For example, "UTF-8" will be valid, because it will be automatically transformed to "utf8".