SP-818 Backport of PDI-10936
SP-956 - Checkstyle
SP-956 - Backport of PDI-11122 - java.lang.ArrayIndexOutOfBoundsException with Get XML Data step (5.0)
[SP-631] Don't close console and file log4j appenders prematurely if we are running embedded
Merge pull request #324 from pentaho-skarmali/5.0

log4j: ERROR Attempting to append to closed appender PENTAHOFILE when using PRPT that contains a KTR as datasource
Merge pull request #309 from askdzmitry/SP-818

SP-818 Backport of PDI-10936
Merge pull request #320 from pavel-sakun/SP-956

SP-956 - Backport of PDI-11122 - java.lang.ArrayIndexOutOfBoundsException with Get XML Data step (5.0)
PDI-11373 - Database Join step fails with Number of rows to return on
MySQL

fix provided

Conflicts:
	core/src/org/pentaho/di/core/database/Database.java