Java docs and further improvements.

Added Java docs to data files, as well ass simplified constructors for
TreeNode to reduce arguments passed.  Also fixed issue where multiple
Edges with the same points could be added to the set of Edges of the
graph.