[DF-564] set switch index

merge with dava/development & change QLineEdit to QSpinBox, remove GetAllSwitchComponents (commit 11.03.13 12.46)