base: window.debugging instead of cockpit.debugging

We want debugging to be usable during loading of Cockpit and
elsewhere.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
playground: Move the internal page into its own package

And rename it to #playground ... it has hammer.gif after all :)

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
tools: Use 'phantom-tap-xxx' as our TAP communication with phantomjs

Since these variables and canaries are not QUnit specific, rename them.
We'll want to run other phantom tests via our phantom driver.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Add some javascript tests actually spawning processes

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Add "directory" option to text stream protocol

This spawns the process in the right directory.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
bridge: Add "error": "output" to spawned textstream channels

This includes the error output in the textstream output.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: cockpit.js can be loaded without jQuery

This is necessary for the AMD module loader to work which will in
turn locate and load jQuery in later commits.

In addition this gives developers using things like dojo in packages
a small API for interacting with cockpit-ws and the message stream.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
doc: More spacing between entries in guide reference sections

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
examples: Add some examples of building a simple component

This currently uses the #playground task since we don't have a way
to add arbitrary tasks to the Cockpit UI.

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