adds Pid.py

A library of functions to help with PID file management
modify Pid creation

Since the most common thing to do with a PID file is check its existence
and error out if it is there, I am putting this functionality into the
create call.