Added function to find a ktask's PID
Cleaned up kernel kvid test code