Implement --batch parameter for icinga2-list-agents.

Refs #6002
Make sure that icinga2-forget-agent removes the .peer file.

Refs #6002