A function to convert strings to SEO friendly URL slugs, originally by [cubiq](http://cubiq.org).