Some changes to Constraints: converted to abstract class, text export
for javadoc. Added documentation to Tree2DConstraints, Tree2D,
Constraints.