Revert "C++: nested class with enclosing template class"

This reverts commit 5d76b4339a717cd944c4a3c27eac860b8111d645 since it
might lead to an infinite loop.

Task-number: QTCREATORBUG-11999
Change-Id: I12c7f3afc4aa53a83ddc2bf2d33eb76c29b747ee
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Debugger: Fix internal type dumper

Change-Id: I5c9ad7c5f95980bb85e07f1ea6dddcdf8b8a19a2
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>