Specify location of pidfile in the configuration file instead of a commandline parameter.
Add more contextual information to errors occuring while writing/reading the pidfile.
Update CHANGES.txt to reflect changes made for #777
Document pidfile configuration setting.