Feature api ready queue

refs #85 

loadFromServer & loadFromEndpoint now uses promises, by default a resolved promise is returned from loadFromServer.

Leader state isn't set until loadFromServer completes as setToLeader follows in the promise chain.