Settings XML made more resilient

Parsing is now case-insensitive for text settings (EOL characters,
parity), and setting for EOL now supports both "CR+LF" and "CRLF" in the
XML file.