change plugin form
Add advanced settings
Update deploy button
Add method to deploy custom python collectd plugin

Also move all metrics functionality in methods.py
Sanitize target on the fly
Fix machine parameter
small fix
Change layout
Properly send plugin_type
Various changes on custom metric form
Merge branch 'custom_metrics.deploy_plugin' into deploy_metric