Source code changes.

* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
Added .gitattributes file for proper line endings.