[QueryParams] Support for Arrays

This adds basic support for Arrays.

The following URL: /?foo[]=1&foo[]=2 will generate:
`{foo: ["1", "2"]}` and vice versa.