Merge pull request #9 from tek/master

anv result failure
small fix for quote vs quote_plus
Merge pull request #11 from jesseward/quote_plus

small fix for quote vs quote_plus
Python 3 compatibility fixes.