Fixes #5762: Replaces Centreon E2S by nxlog for window

As this is a change in stable release, i made it as minimal as I could, so I kept the same logic as before (in term of reporting, calls and all) to minimize all risks
I did remove dead logic though

they are used in the template