Encode '?' in URL path to conform to RFC3986
More unit tests for URL paths.
Merge pull request #51 from psychs/url_path_encode

Encode '?' in URL path to conform to RFC3986