Fix no completion on global namespace
Fix no completion on global namespace

follow_definition raise attribute error on global namespace. I am
not sure if this is a bug in jedi, since follow_definition should not
be used there.

mmolero/pyqode.python,pyQode/pyqode.python,pyQode/pyqode.python,zwadar/pyqode.python