A court in Southern Russia has convicted two people of terrorism dating back to the 1995 assault on the town of Budennovsk, in which 129 people were killed.