add option for execute whole file

if sql_exec.execute_whole_file is true and there is no selection, then
ctrl+e ctrl+e execute the whole file in one transaction