fix URI generation when using datasource, _GRAPHITE_PRE and _GRAPHITE_post
use _GRAPHITE_PRE from host, and _GRAPHITE_POST from service
Merge pull request #709 from N-Mi/master

This is a fix for bug #695