BRANCH 4.2-105:
  ensured db connections are closed after commit_thread_sql
  ensured close_all is called after Watch Folder and Transaction Sync service add its scheduled task
BRANCH 4.2-105:
  added the upload_id in the layout div for TileLayout's ToolLayout