Fix line ending problems

Fixes all wrong line endings and adds a attributes file to convert *.h and *.c files in the src directory to crlf before each commit