Solr 4 Compatibility

This branch implements compatibility with Solr 4 (4.6).

Not sure if this gets correctly picked up by Travis, but let's check…