Added method __repr__() to PidFile in pb_base/pidfile.py
Refactored test/test_pidfile.py