Added weak ref cache for unpickled Graphs in shards
Fixes ticket:6