fix a couple of oddities of URLParser and HandyURL (query should not include leading '?', authUser should not have trailing ':' or '@'); add a bunch of tests to URLParserTest