Fixed fragments handling in URLs.

* Fixes #1.
* Ignores fragment in resolution phase.
* Adds fragment to the resolved URL.
Merge pull request #2 from jussi-kalliokoski/fix-fragments

Fixed fragments handling in URLs.