Fix : Illegal chars in hosts and services for Graphite

Hosts and services may contain chars (such as '.' or ' ') that are misunderstood by Graphite.

This fix is a bit dirty because I've hard coded the condition on the graph_url (which is graph_word in fact)to be modified.