Added the getVersion method in class LiveIndexWriterConfig.

The method was also added in it's subclass IndexWriterConfig.