How do you get auto completion and stuff?

The stub file should go into your project folder, as Intermediate/PythonStub/unreal.py.