correctly treating html character entities

any html character entities following a url are now not being treated like part of the query string
properly handling &amp; character as part of the url
Merge pull request #58 from yads/master

Correctly handling html character entities that follow a url