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

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

will get the error of make copy if using SparkPlan here
```
[info]   Failed to execute query using catalyst:
[info]   Error: makeCopy, tree:
[info]   InsertIntoHiveTable (MetastoreRelation default, dest1, None), Map(), true
[info]    Project [key#4178,value#4183]
[info]     ShuffledHashJoin [key#4178], [key#4182], BuildRight
[info]      Filter (key#4178 > 100)
[info]       InMemoryColumnarTableScan [key#4178], [(key#4178 > 100)], (InMemoryRelation [key#4178,value#4179], true, 5, StorageLevel(true, true, false, true, 1), (HiveTableScan [key#4079,value#4080], (MetastoreRelatio
n default, src, None), None), Some(src))
[info]      Project [value#4183,key#4182]
[info]       Filter (ds#4180 = 2008-04-08)
[info]        InMemoryColumnarTableScan [value#4183,key#4182,ds#4180], [(ds#4180 = 2008-04-08)], (InMemoryRelation [key#4182,value#4183,ds#4180,hr#4181], true, 5, StorageLevel(true, true, false, true, 1), (HiveTableSca
n [key#4093,value#4094,ds#4091,hr#4092], (MetastoreRelation default, srcpart, None), None), Some(srcpart))
```