Revert "Remove unused method BuildContext.prototype.spawnP."

This reverts commit e098fb426709bdf24d840e09a838c25733a650d2.

This function is still useful in scripts. Silly of me to remove it.

TODO Write some tests that exercise spawnP.