Bug 1050026 - Fix b2g-info to use pid and ppid to determine main/child processes.

Addressed review comments
Merge pull request #188 from dhylands/fix-pids

Bug 1050026 - Fix b2g-info to use pid and ppid to determine main/child processes. r=tchou