Refactoring temporary files creation

- Renaming temporary files functions
- Moving deleteTempFiles and createTempFileWithCode in grammar-utils
- Add GrammarUtils.PHP
- Modify grammar for PHP
- Clean code context