add a --bootstrap mode for configure.py

Instead of bootstrapping through a separate script, instead make
configure.py able to either generate a build.ninja *or* just execute
all the computed commands to build a ninja binary.

Note: this isn't complete; there's one XXX and I'm not happy about the sys.exit() bit.
Ideas?