Changed inconsistent lineendings to UNIX format

- used dos2unix
- this also cleaned some whitespaces