LPS-51819 Source formatting (line ends)

Awesome job guys. I've rebased and fixed some SF, but there are more SF errors pending. Please fix those and take a look at my comments in the original pull