Rohan, Shruthi | #1373 | Explicitly logging groovy errors for encounter modifier, fixing the liquibase for allowCaching in groovy scripts