Connected component subgraphs copy

Add option to copy (or not) subgraph data.
Rework connected components algorithms as generators.
Add example for sorting components by size
Merge pull request #973 from hagberg/connected-generators

Connected component subgraphs copy