Added callchain detection to EdgeListener.
Fixed a nullpointer and added a method to get the return type of a method.
Added modified tests for EdgeListener.