Fixed some bugs and made classes much more open in Java code.

API for adding classes is much more robust and flexible. Can now treat classes as basic collections of methods and variables in edu.gordian.Class.