Graph refactor

Working on extracting the Graph code from the Graph500 app into a more generally-useful form in the Grappa system directory.

In the process, trying to come up with reasonable interfaces to the Graph. Discussion below.