Fix for query string params in functional tests

hey evan,

this is my fix for correctly parsing the URLs passed into the test framework, [as discussed](https://groups.google.com/forum/?fromgroups=#!topic/chicagoboss/FcU7pfe872o).  i've tested it out, and it seems to work as expected...

hope this helps!