added settings for correct line endings handling on any platform

Otherwise git was marking entire file contents as modified (because of two last symbols).
Also made test commits with minor changes to code.