We already support 'type' attribute for query, but the docstring for
build_url and cli_to_array don't refer to it.
And the urlencode with doseq=True will force filter parameters grouped
by name, so the sample in build_url docstring should be corrected too.
Change-Id: I2b526d9e23175b5378ea36e0a532052269c7f0c4