Escape all illegal chars in metric names.

E.g. right now there are some metrics with dashes in their names, which cannot
be queried through the UI.
Merge pull request #3 from prometheus/fix/escape-names

Escape all illegal chars in metric names.