Serialize non select queries to avoid db corruption
Created by: KFilippopolitis
Changelog: jira-636
- Removed task_soft_time_limit,task_time_limit, run_udf_soft_time_limit,run_udf_time_limit added tasks_timeout and run_udf_task_timeout.
- Now all non select queries are serialized.