PDI-7243/PDI-11183 - JSON Output Step throws NullPointerException when previewing no rows

PDI-11183 - fixed
PDI-7243 - patch applyed, junit tests
PDI-11183 - junit tests added
PDI-8395 - JSON Output step only outputs last line of transformation if
append is not checked.

junit tests added
PDI-8395 - JSON Output step only outputs last line of transformation if
append is not checked.

fix added
PDI-7243 - JSON Output Step throws NullPointerException when previewing
no rows

Fix patch to be compatible with old behaviour
Checkstyle for junit test, System.out removed
Remove dependancy on reporting packages

Remove unnecessary dependancy, null aware String comparsion can be done
easily.
modified:   engine/src/org/pentaho/di/job/entries/getpop/MailConnectionMeta.java
PDI-9538 - The Update step generate wrong DDL

What was done:
1) Extracted similar method from insert-update step
2) Fixed iisue in the extracted method
3) changed both classes to use extracted method
PDI-9538 - The Update step generate wrong DDL

Added unit test to test the new method
[PDI-10094] Fix logging for Teradata fastload
PDI-10909 - Email message input: retrive the first ... emails

junit tests added
PDI-10909 - Email message input: retrive the first ... emails

Fix added. 
Retrieve first ... emails will be applied only if folder is non dynamic
Limit value overrides retrieve first ... emails value
PDI-8904 - String operations "trim" will erase fields with lazy conversion (Binary)

Unit test
PDI-8904 - String operations "trim" will erase fields with lazy conversion (Binary)
[PDI-10774] Load file content in memory step: Wildcard not preserved after save
PDI-7426 - [PATCH] Subfolders for IMAP for Jobentry 'Get mails' and Transformation Step 'Email messages input'

junit tests added

new file:   engine/test-src/org/pentaho/di/job/entries/getpop/MailConnectionTest.java
PDI-7426 - [PATCH] Subfolders for IMAP for Jobentry 'Get mails' and transformation Step 'Email messages input'

patch applyed
PDI-5436 - Database lookup: "Load all data from table" does not work with postgresql db and csv file as input (lazy conversion turned on)
[PDI-10087] A couple of database types are not suitable for database repositories but are able to select
BISERVER-10752 - Update code after code review
fix to PDI-9790 improper merge/rebase
PDI-11232 - "Synchronize after merge": incorrect title of the step
properties dlg window.