Allow override of pidfile location

The file name can now be overridden at runtime with a System property or
environment variable named "PIDFILE" (or "pidfile").

Fixes gh-1579
Merge branch '1.1.x'