RAZ-2983: Add error logging to cfcatches in update.cfc
- Added error logging to cfcatch statements
- Added back db cleanup routine that was removed during merge changes
- Other minor refinements