Restart monitoring agent if it's down.

Renamed "Monitoring" class to "MonitoringManager".
Added an "ensure_running" method to bring back the monitoring agent
if it goes down.