add programmatic interface for data produced by cpuuse
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.