Extract annotations validation to a single class.

The AnnotationsValidator can be used by any runner now. TestClass
does not provide access to the internal maps of fields and methods
anymore.