Add search for processes by session id.

Refactor procfs data model, add a new useful method.