sigma.classes.quad: Erase cache when reindexing

When nodes are reindexed, the cache should definitely be erased, since results are no more valid.
Must add unit tests on graph reindexing later.
Merge branch 'draft-v1.0.0' of github.com:jacomyal/sigma.js into draft-v1.0.0