PDI-9790 - Job finishes successfully even though the logging process falls over

Fixed log exception behavior for jobs, transformation.
New variable for backward compatibility introduced.
Fixed concurrency issue for JobEntryTrans.class
Junit test is black-box, call to ant build file is added.