ws: Serve /cockpit resources in test-server

This allows us to test things with absolute paths

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Implement a AMD loader

This is a standard AMD loader for loading modules with dependencies
and asynchronous loading.

https://github.com/amdjs/amdjs-api/wiki/AMD

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Test AMD using the standard amdjs-tests suite

https://github.com/amdjs/amdjs-tests

We use the basic and anon tests.

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
server: Use AMD async loading for the terminal component

Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
base: Quieter messages when not loading via https

We return a 'no-cockpit' problem for callers anyway.

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