Encode unicode parameters in UTF-8 to avoid making urlencode sad.
Fix broken tests.
Merge branch 'feature/issue-18-fix-unicode' into develop