base: Debug output fixes for cockpit.http()

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Fix issue with header values that contain spaces

The CockpitHttpStream code refused header values that contain spaces.

Closes #1568
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Don't load jquery-flot.js twice

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Use CSS to display and hide buttons in Dashboard

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Cleanup some of the ugly inline styles and other CSS on dashboard

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Dashboard servers not links while editable

The various dashboard servers are not links while in edit mode

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Cleanup rats nest of callbacks for dashboard hosts

We should be separating logic from presentation at least a bit.
Use data- attributes and delegated callbacks to accomplish this

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: We never 'leave' the dashboard page, just hide it

Most of the legacy PageXxxx stuff is deprecated anyway, but going
forward we know one thing, we never really .leave() the dashboard
it is always being updated and a constant part of the shell.

Closes #1565
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Distribute mustache and bring it into base package

This is a simple templating library that fits quite well with jQuery
and our method of operation. We don't currently do incremental DOM
updates, but that will come in a later iteration.
shell: Use Mustache to render the Servers on the dashboard

Note that we can't use .data() with data-* attributes as these
may change underneath jQuery.
base: Add jQuery amends plugin which smoothly amends HTML

This is a version of $("...").html() which syncs over the HTML
and avoids needlessly replacing nodes or elements.