Code cutdown, Windows/Mac Compatibility

This has some big changes:
- chunks of repetitive code cut down into small for loops, with
variable declarations in the fields section (like they were always
supposed to be)
- removal of print statement testing except for final team load (good
for testing I think)
- addition of a .gitattributes file that should normalize text endings,
making our code much more compatible and less crazy (Tran, this means
your updates should only change in changes now)

Please get this, and Steven, send out something small to see if the
change fixes that issue.