Refactored the code so that DataDrivenTestRunner as well as SpringTestRunner share the common code.
This will make the life easier when we add/modify/remove things that are common to both the runners.

Signed-off-by: Anuj kumar <anuj.gandharv@gmail.com>