Add table.stats() query

This is pretty straightforward, one little twist is that I included support for optional params in the anticipation of adding bucket prefix support on sky side (I really want to be able to get stats for just the data buckets, excluding the factors).

This PR also cleans up the integration tests a bit to bring them in sync with latest sky unstable.

@benbjohnson 

/cc @snormore @charlescng