SOLR-5796: Increase how long we are willing to wait for a core to see the ZK advertised leader in it's local state.
SOLR-5796: Make how long we are willing to wait for a core to see the ZK advertised leader in it's local state configurable. 
SOLR-5796: Fix illegal API call to format. (merged branch_4x revisions r1574641 and r1574682)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_7@1581195 13f79535-47bb-0310-9956-ffa450edef68