Fixing issue with ps.top and ps.pgrep.  I checked all versions of psutil and couldn't find any reference to using a pid() function to return the PID from a process object.
Fixing the unit tests for ps module
Merge pull request #16462 from garethgreenaway/16445_16444_2014_7_ps_fixes

Fixing issue with ps.top and ps.pgrep