Add gitattributes file as GitHuub suggested.

This file is added to help git handle line endings.