Merge current master and reimplement Graph.mask using innerJoin

This is for amplab/graphx#48.