Fixed a few bugs in the port to 3.4
removed Query.__init__; it caused invalid URLs

We added the __init__ method to initialize all the class attributes
(following linter advice), but I realized when using the class that it
would generate invalid URL values when some attributes were left to
None.
fixed typos so queries give intended result
Merge pull request #3 from fcharron/master

Fixed some bugs in the port to 3.4