Update dependencies to latest versions.

I updated the various dependencies to more recent versions. From what I've seen, especially lucene 4.5.x should be able to provide some performance benefits.

Doesn't seem to break anything and provides some performance benefits. For example, index compression (on by default in recent lucene 4.x releases) reduces the index size from 3.8GB to below 1GB for me.