tweaks to traversalvertexprogram and respective updates to Giraph.