Merging lucene_solr_intervals into lucene_solr_4_8

Diff between lucene_solr_intervals@af124c9f4344dbdb8da2cf7cd356c7cebfa7a283 and lucene_solr_trunk@e634bc3161d5a619bfda0e89b0766c85ee5ef955