adding common data to plugins

plugins should record trial index as a default.

added data capture for rt to text plugin