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.
Nit: Fix this per pep-8.