[SPARK-2783][SQL] Basic support for analyze in HiveContext

JIRA: https://issues.apache.org/jira/browse/SPARK-2783
We probably don't want the result of a general `.toString`. Perhaps just say "Analyzing relations other than MetastoreRelation's has not been implemented" instead.