[SPARK-2410][SQL][WIP] Cherry picked Hive Thrift/JDBC server

JIRA issue: [SPARK-2410](https://issues.apache.org/jira/browse/SPARK-2410)

Cherry picked the Hive Thrift/JDBC server from [branch-1.0-jdbc](https://github.com/apache/spark/tree/branch-1.0-jdbc). 

(Thanks @chenghao-intel for his initial contribution of the Spark SQL CLI.)

TODO

- [x] Use `spark-submit` to launch the server
- [x] Migration guideline draft for Shark users
Could you force this to be excluded when we are publishing release artifacts?

I think you can do it with the following approach (but it might be good to not put a version for the deploy plug-in).
http://prystash.blogspot.com/2009/06/maven-excluding-module-from-deploy.html