LineEndingMode Changed to Immutable Class

Converted LineEndingMode from enumeration to sealed immutable class
which allows us to group LineEnding and NewLineChars properties in
FileTarget under a single entity.