Efficiently compare text line-by-line between two inputs, "Left" and "Right", to identify lines unique to either, and lines that are common between them. Optionally enable case-insensitive comparison by lowercasing the input.