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
Checkstyle task
Merge pull request #268 from pavel-sakun/add-checkstyle-task

Checkstyle task
Merge pull request #200 from prakapenka/PDI-7243

PDI-7243, PDI-11183, PDI-8395  - cummulative fix for JsonOutput step.
Fix issues with checkstyle task
Merge pull request #277 from pavel-sakun/add-checkstyle-task

Fix issues with checkstyle task
PDI-11308 - Allowing specification of username/password in slave server xml
Merge pull request #282 from brosander/PDI-11308-post-merge

PDI-11308 - Allowing specification of username/password in slave server ...
PDI-11308 - Adding override option to Carte constructor to allow the constructor to return, added join method to allow caller to block, stored reference to Carte in the CarteSingleton
Merge pull request #283 from brosander/PDI-11308-post-merge

PDI-11308 - Adding override option to Carte constructor to allow the con...
Once again - clean up checkstyle and code warnings......
Merge pull request #284 from bkemper-pentaho/master

Once again - clean up checkstyle and code warnings......
Merge remote-tracking branch 'upstream/master'