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

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

This is because ```InsertIntoHiveTable``` is ```UnaryNode```, which has a child. But ExecutedCommand is leafnode