merge to 4x of SOLR-4229 (rename swappable to transient for cores that can come and go)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426832 13f79535-47bb-0310-9956-ffa450edef68
check shutdown for early termination in 'wait for state'

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426842 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4244: When coming back from session expiration we should not wait for the leader to see us in the down state if we are the node that must become the leader. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426893 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4245: When a core is registering with ZooKeeper, the timeout to find the leader in the cluster state is 30 seconds rather than leaderVoteWait + extra time.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426899 13f79535-47bb-0310-9956-ffa450edef68
SOLR-3735: fix maven POM for upgraded Velocity JAR

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426916 13f79535-47bb-0310-9956-ffa450edef68
SOLR-3735: sorry, revert stupid last commit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1426953 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4246: log forwarded updates

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427039 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4124: persistence support

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427214 13f79535-47bb-0310-9956-ffa450edef68
SOLR-788: set mlt.count back to 5

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427219 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4247: fix bug with TestSimplePropertiesWriter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427220 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4248: "ant eclipse" should declare .svn directories as derived.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427234 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4238: Fix jetty example requestLog config (merge r1427240)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427241 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4238: only fix one place, the other place is suppose to be broken for things to work properly (merge r1427258)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427259 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4251: Fix SynonymFilterFactory when an optional tokenizerFactory is supplied

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427400 13f79535-47bb-0310-9956-ffa450edef68
SOLR-4246: log forwarded updates

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427504 13f79535-47bb-0310-9956-ffa450edef68
SOLR-3180: remove bad method call

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427590 13f79535-47bb-0310-9956-ffa450edef68
tests: allow control of chaosmonkey nothing is safe test by sys prop

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427592 13f79535-47bb-0310-9956-ffa450edef68
tests: use fs factory for now

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427594 13f79535-47bb-0310-9956-ffa450edef68
tests: reenable assert

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1427602 13f79535-47bb-0310-9956-ffa450edef68
tests: only do this check if there are actually different docs

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