Add utf8_encode_dict to make it handle unicode strings

This pull request adds support to be able to have (for example) the customer last_name be

❤☀☆☂☻♞☯☭☢€→☎❄♫✂▷✇♎⇧☮♻⌘⌛☘

When used, this shows up correctly in the chargebee console. Without this pull request, an exception is thrown by urlencode.