split the code of test runner and core into separate sub folders

This will serve as the basis for further changes to use the core
framework on top of alternative test runner.

Change-Id: I389cbc8e79a004144c95bc99f7d2a58521541781
24 files changed