shell: Add cockpit.confirm function

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Use cockpit.confirm when deleting containers and images

Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Use cockpit.confirm when erasing storage things

Also, put a warning into the format dialogs.

Fixes #73
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Include user name in confirmation dialog when deleting an account

Closes #795
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Move cockpit_format_bytes into cockpit namespace

And make the function easier to use correctly
shell: Put cockpit-storage code in own private scope
shell: Move the cockpit_format_bytes_long into storage code

This is where it's used from and it's storage specific.
shell: Move cockpit.format_bytes_per_sec into cockpit scope
shell: Move cockpit.format_delay into cockpit scope
shell: Remove unused cockpit_add_thousands_separater function
shell: Move cockpit_format_temperature into storage code

It's currently disk specific, and so scope it appropriately.
shell: bits rather than bytes to describe network throughput

Refactor how we build up the suffixes.

Fixes #855
Closes #877