Bug fix : EdgeClick function 

2 bugs appears with the conf.edgeClick function.

1) when defining a function in configuration, this function was never
called
2) when called (with bugfix), the clicked edge was not passed in
parameter.

I replace the code with a new one very similar to the nodeClick
function. This last one works fine so I use the same pattern and it
works fine as well for edge clicking now.