Add missing semicolon, spaces and gitattributes

Also add gitattributes file
https://help.github.com/articles/dealing-with-line-endings/