Added evhtp_parse_query_wflags and a bunch of tests