Forbid mixing multigraphs and graphs in operators

Users must convert input to matching types before calling.
PEP-8 updates
Merge pull request #944 from hagberg/multigraph-operators

Multigraph operators