Add logging to Graph, GraphLab, Pregel

I just extended the three classes/objects to extend Logging so we can debug our code better.