Move Document#sluggify to Utils#slugify
Replace the 'name' parameter with 'string'
Revise Utils#slugify with inspiration from Rails
Add tests for Utils#slugify