adding gitignore and gitattributes to 5.2.x branch
modify .gitignore entries