add support for --pid argument to create pidfile

Was looking to monitor rqscheduler via Monit and needed a pid file so it could locate and check the process.

Could be made better by deleting the file in Scheduler.register_death(), but would require passing pidfile parameters to the Scheduler class, which doesn't seem correct.

For Monit, monitoring still works if the pidfile remains after death.