Import module part of "dotted" type in docstring

I want completion in source code like this:

```python
# No `import MODULE` in this file.

def function(arg):
    """
    Some function

    :type arg: MODULE.CLASS
    :arg  arg: It takes an instance of CLASS from MODULE

    """
    arg.<COMPLETE>
```

I have this working code now, but I am not sure about the last change (81f59f9).  Why did you need `p.user_stmt.parent = func`?