Added str_slug helper function.
Merge pull request #6654 from pespantelis/master

Added str_slug helper function.