Better slug creation

Makes sure that there won't be '---' characters that could mess up
implementations with Solr