SERVER-136063In Progress
control lifetimes of pali components
We make PALI's runtime interface return references rather than shared ptrs, since it should control their lifetime. This primarily impacts the state_machine, which does the same thing, and the replication coordinator, which we modify to use a state machine interface as well.