qdoc3: qdoc now reads qt.index better
qdoc3: qdoc now reads qt.index better

It was creating the wrong kind of node when it saw
a qmlclass or a qmlbasictype. Now it creates the
correct node, but there could still be incorrect
behavior here, so this investigation is ongoing.
But the bug that caused the crash is fixed.

Task-number:  QTBUG-22462
Change-Id: Ib80129fdd9fd63a60c0022c78c2bbd036946f8a6
Sanity-Review: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Martin Smith <a8cc6484db2755056ccf1c457da8ca771f895dea@nokia.com>
Reviewed-by: Casper van Donderen <808524cef5c654648bea2a2b954f3b3445ed083c@nokia.com>

kobolabs/qtdoc,kobolabs/qtdoc,kobolabs/qtdoc,kobolabs/qtdoc