Improve slugify with trim and fix double separator