glpi: Refs #1996 Fix some issues

Some computers can have more than one same memories or same
processors plugged on.

But only one is displayed.

This commit fix it.

On hardware tab, don't display table's titles if there is nothing
to display