Refactored run-tests script

Refactored run-tests script to become a setup script.
This is needed to make it work correctly with arbitary command we want
to run in venv (testenv:venv in tox).

Change-Id: I91d0e7a05fb1b9fa13e18789281fdf5267f5b526
Merge "Refactored run-tests script"