shell: jshint sometimes complains about this one

This is because we're using this in a case where it's not clear
that the functions are part of an object.

Closes #1612
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
docker: Move the quote/unquote command line code into docker pkg

This is where it's currently used. If/when we do get another use
case for this code, then we can move it to the base package.

Closes #1613
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
common: Add cockpit_json_get_array.
bridge: "metrics1" channel.

Initial work by Stef Walter <stefw@redhat.com>.
shell: Use metrics channel for dashboard plots.