another fix for ide freeze

see #32
i think this one is a better solution. the other breaks the isCallTo method. two changes:
- check for valid ContainerCalls with PlatformPatterns (ide looks faster now)
- in isCallTo check for called method name before resolve (i hope i dont break the idea of this method)

the depth check can be removed, you try to remove the freeze with this?