Add recommended files for git

Add files to tell git how to handle lineendings and which files to
ignore by default on commit.