capture full module path for types

If you define something.services.User, User is considered a type
but is listed in module "something" instead of "something.services".

With this patch the full module path is captured.