terms_stats facet type support

adds terms stats support.

I think it's failing because travis pulling down the wrong version of ES and my code is still based on .9. I can update it if need be. Tests are passing locally for me though.

Much <3 if this can be into .10.
This line is commented out. Probably better to remove it if it shouldn't be here.