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

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

yes, i think we can parse command in sql/core instead of parsing in catalyst in the follow up PR