cleanup imports for python3
decode byte type string
tests are now indifferent to ordering of query keys
Merge pull request #1 from kissmetrics/python3

support for python3