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

I think we can make these private[spark] again