generate slug from title, but chomp off enough space for a uniqueness counter #249