Fix awesome MjBattery thing for Scala

Since Scala compiler makes all fields private and creates getters and setters for them, i check, if there is a public(so private Scala fields doesn't count) Scala setter and if is, then set proper accessibility for the field.
You can also find some info about that in comments in cpw.mods.fml.common.ILanguageAdapter.ScalaAdapter class.

Tested.
Fix adding unaccessible fields, and their check.

Lol.
I'm stupid, it was in cycle.
Fix everything.

Without expected exceptions! =D
Merge branch 'patch-1' of https://github.com/anti344/BuildCraft into anti344-patch-1
generalized previous change