static: Distribute mustache.js

From Stef.
base: Never recreate mustache.min.js as it's preminified

Closes #1576
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Color the left side of Server list on dashboard rather than box

Put a color band on the left side of the servers instead of a box
around the icon. This looks better.

Closes #1571
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
shell: Make real dashboard server links

This makes us able to open them in new tabs, or new windows, middle
click them, drag them etc.

Closes #1575
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
test: Add two dashboard tests to check-verify and fix them.

Closes #1578
Reviewed-by: Stef Walter <stefw@redhat.com>
bridge: Treat EACCES as "not-authorized" when reading a file

Reviewed-by: Stef Walter <stefw@redhat.com>
base: Allow specifying custom options to file read

Closes #1580
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Minor javascript syntax tweak for trailing commas
Bump version number
websocket: Allow parsing the HTTP version from responses

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Respect the HTTP 204 header when parsing the response

204 meens no content will be sent, so treat the request as only
having headers.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Implement keep alives for http-stream1 channels

We keep one connection around for 10 seconds in case another request
comes for the same thing.

In addition callers can specify a "connection" identifier which
allows them to reuse a specific connection if it is still open. This
is useful for strange connection based authentication schemes.

Closes #1579
Fixes #1570
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Use libssh in a threadsafe manner

http://api.libssh.org/master/libssh_tutor_threads.html

Closes #1582
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
examples: Add Proof of Concept for showing VNC in HTML5

This demonstrates our sideband channels and how we authenticate
connections properly.

Closes #1560
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
examples: Proof of concept talking to CIM

Talk to CIM using local authentication and retrieve some data.
This is a proof of concept example, and doesn't really do anything
magical, just proves it can work.

Closes #1569
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
doc: Document how to change the Cockpit TCP port

Closes #1584
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tools: Fix problems running make-srpm without autogen.sh first

Closes #1585
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
ws: Only build cockpit-ws when requirements are met

We need Glib 2.37.4 in order to do reliable TLS, which
is a requirement of cockpit-ws

https://bugzilla.gnome.org/show_bug.cgi?id=701283
https://bugzilla.redhat.com/show_bug.cgi?id=1143943

We also need libssh 0.6.0 to build cockpit-ws

Disable cockpit-ws on platforms that cannot support it.
We can connect to such servers via the 'Add Server' functionality

Closes #1586
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
doc: A bit of cleanup of the protocol documentation

 * Remove the scary warnings, as this is starting to become stable.
 * The resource2 is due to go away, so remove documentation
 * Remove some confusing bits that only apply to cockpit-ws and
   will likely never be stable

Closes #1598
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Exit bridge when interrupted with Ctrl-C

This semes to be a regression or oversight.

Closes #1600
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Don't complain loudly in logs ObjectManager access denied

If access is denied when accessing a DBus service's ObjectManager
methods, or while trying to Introspect it, just treat it as if those
interfaces don't exist.

Otherwise we just fill up the log with useless stuff. When in fact
the service does not want to talk to us that way.  Debug level
message remains.

Closes #1601
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>