pymake: cache results of CPPincludes()

CPPIncludes() invokes the C compiler which is expensive if you just
want to generate the build dependency graph. This change caches the
results of that to speed it up.

Also grease _create_job() up a bit.