Code cleanup.

I've replaced a ton of magic numbers with named constants. This is for my own benefit, as I plan to incorporate my OreCore project into TConstruct, but with all of these integers floating around it's very hard to make any changes without breaking things.

More cleanup to come in later commits.

(Note that TinkerSmeltery.java is being hidden in this diff because it has so many changed lines)