Graph: add functions to delete nodes

Update clear.
Rename getNodes to getNodesMap.
Add getNodes (return a vector).
Add getNbNodes and getNbConnections.
Add getConnectedNodes and getUnconnectedConnections.
Add deleteUnconnectedNodes.
Add pyTests.