Added SQLCommand module.
Modified SqlRunner to do sanity checking before creating the scratch
file.
Refactored SqlCommand (again), modified SqlRunner to support display to panel or file. Updated documentation.