modify metric names in collectd v5 manner

1. Modify metric names so that it's compatible with collectd v5.

2. Make it load graphite endpoint at compile time. 
  If it's loaded at run-time, it can't be included in gdash.yaml template.