Support for graph output on console/shell

This patch adds support for `cpugraph`, `memgraph`, etc to `out_to_console` and `out_to_ncurses`. This is particularly useful when used in conjunction with a text-only status bar common on tiling window managers (e.g. i3bar, dzen2, xmobar).