shell: Factor out memory info retrieval from cockpit-docker.
shell: Include number of CPUs in machine info.
shell: Scale graph axis according to available CPU and memory resources.