Add a tox configuration file for running the testsuite
querystring: Sort the query parameters prior to passing everything to urlencode

This fixes the testsuite and looks nicer, too.