Converts a string to a slug. Includes integrations for Symfony, Silex and Twig.