[python] add *all* module dependencies to path

Fixes an issue with #5201: dependencies of dependencies are not added to path. For instance if addon A depends on module B, which depends on module C, C would not be added to path when invoking A. Pay attention people!;)