[Feature] Better child process tracking

- Child resource accounting.
- Previously spawned orphan pid tracking.

Includes @leknarf 's awesome patch.