Remove hardcoded detail index of Type details in Items
Remove hardcoded detail index of Type details in Items

Also fix some bugs in the saveDetail code for special details
(type, description and displaylabel).

qtproject/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,KDE/android-qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility