Style fixes.
Less clumsy implementation of has_edge_id.
Various pylint fixes.
Remove relative imports.
Replace dangerous (mutable) default value.
Remove trailing whitespace.
Merge branch 'pylint' into stable