[SQL] SPARK-4700: Add HTTP protocol spark thrift server

Add HTTP protocol support and test cases to spark thrift server, so users can deploy thrift server in both TCP and http mode. 
Rendered the site and fixed few issues caused by ">" chars. 
Final image can be found here: http://imgur.com/LPceQ9J