[#61236328] Sets X-Frame-Options headers

 - DENY for main and SAMEORIGIN for workflow frame
[#63091498] Truncate jdbc error messages at 300 characters

 - Log full message and display first 300 characters