Draft: Add programmatic interface for data produced by cpuuse
Summary
Currently, the data produced by the 'cpuuse' shell command is output via a printer visitor which makes it hard to consume programmatically as it requires parsing the resulting string. This functionality could be recreated in an application, but it would be better to provide this directly to reduce copying.
closes #5105