hwinfo: re-added disks, little bit of refactoring

You should at least check, whether `stdout` is connected to a `tty` device (see [sys.stdout.isatty](https://docs.python.org/2.7/library/stdtypes.html#file.isatty)) before using colored output.