Remove unit test of WriteCommand

Not easy to mock our RaftServer.
Tighten up server's use of WriteCommand
Richer JSON response for queries
No need for QueryError
Remove RowScanQuery
WriteCommand -> ExecuteCommand