Env var in config is resolved. Cygwin support.

-Environment variables in config.json are resolved.
This works for both linux and windows.
-It is possible to run script from cygwin.
The script detects environment and converts path from windows to cygwin
paths where applicabe.