Better support for future 1.7.10 update

~~This will fix many of the build errors encountered for 1.7.10, but are completely supported and tested on 1.7.2. I also added IntelliJ files to the .gitignore.~~

I screwed up, I'm a little new to pull requests. Please ignore this, I'll get it right next time!