C++: fix auto completion for member of classes accessed by using

Example:
namespace NS { struct S { int member; void fun(); }; }
using NS::S;
void S::fun()
{
mem// ctrl+space
}

Task-number: QTCREATORBUG-9037
Change-Id: I5a568be1b5c44deb02caa04996167a88a9c5d4d7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Squish: Fix tst_qml_indent

Replace waiting for signal textChanged().

Change-Id: I0798f0ef2e1162d2a2b09da98e53dd8fc50e0a7a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>