Move leader election back into __init__

1. New leader election
2. Perform failover when backup controller is up