glpi: fix duplicates methods

getAllEntities() and getAllLocations() are duplicated due to last
commits.

Blame on the developer who has commit this !! Entity and Location
dyngroup criteria are broken !!

So these new methods were renamed. I was not very inspired.
pkgs: fix pyflakes
monitoring: fix pyflakes