[SPARK-2784][SQL] Deprecate hql() method in favor of a config option, 'spark.sql.dialect'