First step toward making the graph builder take any kind of edge
Moving the generalization further out.
Made Label a method type parameter instead of a class type parameter
Now semiring minimization can take any graph in, provided the label graph builder can figure out what to do with it.
cleared a pair of warnings
Changed label AnyRefs to Anys (or nothing)