Phoenix 180

First revision for review.  There are some open points here.  Still no test case added to consume the stats.  Will do the performance test once the system is available with me.
The only caveat here is that for local indexes we shouldn't ever fall back on Bytes.split(), but if we get rid of that here, we'll need no special case for this.