Hash and question mark are legal values of a URL.

Allow replace to replace patterns including # and ?.
Added test for question-mark and hash
Merge pull request #1 from andersjanmyr/include-hash-and-question-mark

Hash and question mark are legal values of a URL.