Switched docFreq cache in SignificantTermsAggregatorFactory to BytesRefHash + IntArray instead of hpcc collection. Code formatting changes.