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

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

We can not avoid this step to translate logical.XXXCommand to RunnableCommand, so keep CommandStrategy here.