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