sys APIs for fetching process, user, and group information

This PR builds on #53 with the following additions to the sys APIs:

- Looking up process info based on pid (name/path, uid, gid).
- Mapping UIDs and GIDs to the associated user and group names.

These changes were broken out of the larger PR #36.