Several fixes 

Various fixes to debug and port the plugin for GLPI 0.85