Another 'using namespace' fix

(semantic-analyze-scoped-types-default): If we cannot find a type in
the typecache, also look into the the types we already found.  This is
necessary since in C++, a 'using namespace' can be dependend on a
previous one.

* testusing.cpp: Add test for the above.
Merge branch 'master' into devel