pbfgraphbuilder Fixes

Fix a bunch of issues with the pbf graphbuilder. Now creates a connected graph it seems.

@dgearhart @gknisely @kevinkreiser 
this seems like java to me. is there any reason why this is a pointer? there is no destructor here, its leaking