glpi: Make History search field case insensitive for Category

 * History search field case insensitive for category field
 * Add 'Domain' and 'Service Pack' to _T(function)
 * Remove ugly algorythm if .. elif .. elif..elif .. etc in
   getLastMachineInventoryPart() method and replace each if statement by
   a function