Allow set_*_attributes functions to work with single attribute value.

Update *_edge_attributes functions to work with multigraphs.
Merge pull request #1166 from chebee7i/getset_attrs

Allow set_*_attributes functions to work with single attribute value.