Fix Python 3 compatibility

Python 3 compatibility has been lost. Readd it.

finders.py: use chain to concatenate dictionaries instead of + operator.
glob.py: use list compresension instead of filter and lambda.
utils.py: use urllib.parse.quote instead urllib.quote if available.