web: fixes bug that broke other dropdown menus

fixed bug that caused other dropdown menus to cut off content

Closes #714
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Fix issues with remaining drop down menus.
ws: Added the validation of HTTP Host header

Added the check for presence of mandatory 'Host' header as expected by HTTP 1.1.
Together with a test case "test_webserver_host_header" in test-webserver.c

Fixes #663
Signed-off-by: Stef Walter <stefw@redhat.com>
 * Fixed trailing whitespace
 * Put cocpit_assert_expected() at top of teardown()
web: Make "select" buttons inline

Otherwise the dropdown isn't always under the button.

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Add DBusInterface.call_with_args

Reviewed-by: Stef Walter <stefw@redhat.com>
test: Allow adding of network interfaces at run time

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Simple network configuration

Fixes #456
Reviewed-by: Stef Walter <stefw@redhat.com>
web: Use on/off buttons for connections

Signed-off-by: Stef Walter <stefw@redhat.com>
 * Whitespace fix
web: Collapse ignore-auto-dns network setting into method

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Improve network interface hardware information panel layout

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Throttle NetworkManager change notifications

State changes of devices happen quite fast and only cause visual
flicker.

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Indicate when a connection might be automatically activated

Reviewed-by: Stef Walter <stefw@redhat.com>
web, NM Model: Use "priv(obj).foo" notation instead of obj[' foo']

This is less obscure, more robust, and indeed a bug was found.

(Also, 'type' is no longer optional with get_object).

Reviewed-by: Stef Walter <stefw@redhat.com>
web, NM Model: Don't use the fake object manager

This is to show what is needed to make the model work.

Reviewed-by: Stef Walter <stefw@redhat.com>
web, NM model: Don't ask udev for non-udev devices

Reviewed-by: Stef Walter <stefw@redhat.com>
web, NM model: Restructure to better show the individual parts

Reviewed-by: Stef Walter <stefw@redhat.com>
web, networking: Allow resetting autoconnect behavior to default

Reviewed-by: Stef Walter <stefw@redhat.com>
dbus-json: Allow working without D-Bus proxies

Reviewed-by: Stef Walter <stefw@redhat.com>
web, NM model: Use a object manager but no proxies

The proxies are not needed but the object manager helps a lot.

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Add "method" label to IP config dialog

Reviewed-by: Stef Walter <stefw@redhat.com>
web: Factor out On/Off button

Signed-off-by: Stef Walter <stefw@redhat.com>
 * Whitespace fixes