Fix to remove spaces in GROUP if the element exists

Ran into some GROUP names yesterday that had spaces, so I tacked on a gsub(/\W/, "_") to the setting of group_name to make sure Graphite can read it when it comes in. (it was throwing "invalid line" errors on the Graphite relay side)