Changed debug info reporting.
Changed debug info reporting.

- system_details_to_str now returns (do not print) debug information
- get_debug_info now returns or print debug information depending
  on the argument

pyvisa/pyvisa,MatthieuDartiailh/pyvisa,rubund/debian-pyvisa,hgrecco/pyvisa