Fix EZP-20752: Monitor page is not updated
- Monitor page is now updated while the script is executed
- The batch deletion processes element by 500 instead of 50
- Added some cli output to help debuging
- Very minor CS fixes
(cherry picked from commit 735719e33749d39340648cb8b57036e5d31c03d1)