How can I convert a URL query string into a list of tuples using Python?,"[('foo', 'bar'), ('key', 'val')]"