Added .gitattributes file, for normalizing line endings in PHP files (to CRLF).
Fix the .gitattributes file. Oops.
Coding standards fixes throughout codebase.