Switched parse_qs calls to use the urlparse module.

The parse_qs method is being depricated from the cgi module and
moved into the urlparse module.

    SEE: http://bugs.python.org/issue600362