inventory : a new common utils module

Because the detecting of incomming inventory from PXE and others
methods are not really used only by scheduler proxy, these utils
was moved into a new common module.
Fixes #2018: PXE inventory override regular inventory in GLPI