wp core config: Add dbcharset and dbcollate params

Allow dbcharset and dbcollate to be set on config to avoid character set
problems during migrations