LUCENE-4833: Make IndexWriterConfig setters throw an exception when passed null if null is not a valid value.


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