Updated .gitignore properly to ignore all non-EE3 files

Updated .gitignore. Added support for the ForgeGradle wrapper and fixed IntelliJ support.