Make lenskit-core build with new Grapht

lenskit-core now builds, but the tests fail
Make LensKit core work with new Grapht (refs #337)
Update graph dumper to work with new Grapht code (refs #337)