Fixed a case when parameter value was non-ascii. Added a test for the case.

I think the internals should be refactored to handle everything inside in unicode, and return the result as str only in to_ical() methods.

http://nedbatchelder.com/blog/201203/pragmatic_unicode.html