Fix issue #5. Curly braces {} are now percent encoded to play nice with java.net.URI
Added unit tests for chinese and russian characters
Added some more reserved characters that should be percent encoded, such as newlines