Store daemon arguments in reference file.
Summary: Ref T4735. Store the arguments that were used to launch a daemon in the reference file. This will allow the daemon arguments to be echoed to the console for ./bin/phd status.
Test Plan: See D9208.
Reviewers: Blessed Reviewers, epriestley
Reviewed By: Blessed Reviewers, epriestley
Subscribers: epriestley, Korvin
Maniphest Tasks: T4735
Differential Revision: https://secure.phabricator.com/D9207