Better implementation of edge attributes in addEdge and bugfix in checkEdge

...s

I had some issues with edge attributes when loading them with parseGexf: edge attributes were stored in e.attr.attributes.<attribute_name>, now they are stored in e.attr.<attribute_name>.

Besides, checkEdge was duplicating the value of the attr attribute inside the attribute itself, now it should be fixed.