Add test for correct encoding of already encoded URIs.

The resulting URI should be double-escaped.
Merge pull request #26 from RubenVerborgh/percentencoding

Add test for correct encoding of already encoded URIs.