Modified DTTrigTest to handle a dynamic number of BTI, TRACO, TS triggers

Only the position, quality, and code of TS/SC-Theta information still runs on a 2-dim
array whose length might have to be adopted.