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

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

I don think it needs to be in the `Analyzer`.  I think just this single line in the `BasicOperators` `Strategy` should be sufficient.