Update PHP requirement to 5.4
Add .gitattributes file