ForgeGradle port.

I'm leaving this here -- I might get back to it if I have some inspiration on how to fix it, but AbrarSyed is much closer.

TODO:
Fix the tokens in EquivalentExchange3.java and Reference.java
Make a buildnumber incrementer.

FIXED:
Cleaned up commit hell.