Properly quote paths within HTTP URLs.

Cherry picked from:
https://github.com/digium/swagger-py/commit/f0d272872ef9948ed84bed06ec94c8036902ef1d
Merge pull request #55 from wting/quote_paths_in_urls

Properly quote paths within HTTP URLs.