Making code compliant with GLPI v0.83.

List of required changes were found on GLPI Wiki (https://forge.indepnet.net/projects/plugins/wiki/En_Plugin080to083)
Merge branch 'migration-glpi_0.83' into develop