move type identification in inventory module

Splitting WMI parsing from registry parsing makes testing easier.
allows more than 10 consumables
backport AGP support from master branch
not used anymore