[SPARK-4861][SQL] Refactory command in spark sql

Remove ```Command``` and use ```RunnableCommand``` instead.

Remove `SQLContext` and don't wrap the arguments anymore.