Introducing new SYNERGY_ROOT_DIR constant

Must define SYNERGY_ROOT_DIR as your project root directory - all
relative paths/filenames will be searched from here.
Refactored auto init (checkEnv) functionality
Fixed tests