Adds a fix to handle special characters combinations and MySQL

Provides a fix along with its specs to prevent `Encoding:CompatibilityError` with some combinations of special characters when using MySQL.

Answers https://github.com/mbleigh/acts-as-taggable-on/issues/533