fixed url encoding for most common url formats, added tests for them.
Merge pull request #9 from poef/master

fixed url encoding for most common url formats, added tests for them.