Auto detect console width when listing tests

This applies only to UNIX and output which is TTY, however it is still better than wrapping to hardcoded 80.
NOTE: When outputting to file it will wrap to 80.