use here-document to append .gitignore entries

This is more readable imho and easier to change, cheers.