[feature] Drafting the RAPL control loop code.

This also makes `cmd` flush its stdout more aggressively.
18 jobs for wip-powercap in 46 seconds (queued for 1 second)