Correct .gitignore

- Edit .gitignore
- Add .gitattributes
- Add application/core files
- Add system/core files