Change code structure a bit

Use register-audit to register audit script, register-repair to
register repair script. start-scheduler to start all the react
scripts and then schedule audit scripts.

Added audit.cfg and repair.cfg files to strore registered scripts,
this will help restart after failure.

Added globals.py to store global variables

Removed validate_cfg function that wasn't doing anything

Change-Id: Id9140d2665e5710e6ffe2ed707135ff9a30ccdff