In Penknife, moved pkDup(), forkGetter(), and runWaitTryGetmacFork() in preparation for making them methods of PkRuntime.