Improve slugifying of tagnames.
Add more tests for slugifying tagnames.
Merge branch 'feature/issue-1058-better-tag-stripping-in-metric-names' into develop