this helps avoiding passing *Command around which complicates exposing
helpers if they actually want to be tested
with this we don't need to export ThemesCmd to the tests anymore
This adds a new option "remote=true" to the
/v2/assertions/{assertType} endpoint. This will force
the daemon to search the store instead of the local asserts
database.
This will be needed for the `snap download <foo>` feature
that does the downloading via the snapd daemon.
* Add a new helper to parse the json url Query parameters into a more usable
format with the headers put into a map[string]string and whether we should
output in JSON and whether we should output headers only as specific bools.
* Use the new helper in the assertsFindMany v2/assertions/{type} endpoint
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>