SPARK-1830 Deploy failover, Make Persistence engine and LeaderAgent Pluggable

Maybe add a comment here explaining that the election agent is still a no-op for this recovery mode.