Create methods to enable/disable monitoring

enable_monitoring and disable_monitoring have been introduced
in methods.py. The take care of contacting the core service
and deploying/undeploying collectd from the server.