Adjust variable names in TargetCollection.

The Target array name was changed from target to targets and the two
StringTokenizer instances used for parsing were moved into the String
constructor.
Add accessor methods to TargetCollection.

TargetCollection now provides access to the Target objects that it contains
through various methods that allow constraints on the requested Target
objects.