glpi: improve software and version autocomplete perfs

Same remarks as last commit
glpi: GLPI 7 => rename some id to ID
glpi: remove glpi_chosen_version() method