Use kind indexes in nickname generation
This MR implements nickname generation feature that Scenic had in front-end into Switcher back-end.
When creating a quiddity without specifying an explicit nickname, nickname will be composed of kind name appended with an index like before. However instead of using current quiddity ID as index, an index unique to this kind is generated by looking for first index available starting from 1.