Query string parser

Break a URL's query string into a table, and rebuild a query string from key/value pairs.