Support for calls to objects with __call__ member

For example, this passes mypy now:
```python
class A:
    def __call__(self, x: int) -> str: pass

a = A()
s = 'string'
s = a(3)
```

Fixes #519.