Start a simple version of the mkbuildmachine script

The install script should be idempotent by testing for code to exist. We
don't need the steps mechanism.

Uses download code and a test for Cygwin which Adam Oliver sent me.