Combined makevarfile.py functionality into cmerge.py

Adding "makevarsfile.py" functionality into the main ConfigMerge
script, allowing it to be called with an optional flag.
Also, implemented a better method of checking that the files exist than
letting the script crash.