Suggest Int when user writes int

and the other way around. This fixes #9177.
Report all possible results from related name spaces

instead of just one matching directly. This is an alternative way to fix
ticket #9177.
Add testcase for #9177 and adjust test output