pub fn header(title: &str, width: usize) -> String
Format a header with separator line.
Returns colored output if stdout is a TTY, plain text otherwise.