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.
This is a tricky, but kind of interesting case. If there's a tenantId, then that means that the user has asked to analyze stats for a tenant-specific table. In that case, you'd want to get the physical table name from PTable to pass through the endpoint call, but we'd want an option of passing a startRow/stopRow to only analyze *part* of a table. It's ok if you want to TODO this, but please file a JIRA for this (and still always get the physical table name).