ISSUE 827 fix

Adding WordCountPLOJO example. It demonstrates how to use KeySelectors
in a word count example.
Removing comments and adding file support so that this example is
executable without additional data. While providing the functionality of
adding input and output files.
Renaming and inline instantiation

Additionally no exceptions are caught when no arguments are give.
Instead the array length is used to determine how many arguments where
given.
Renamed to make the name clearer
Console output adopted
Better comments and 2014 in Licence

Comments are improved in order to have an example which is as clear as
possible.
Reduce main method code.

Make this example clearer by reducing the code in the main method. Not
example important functionality is put into methods.
Class description
Disable LocalExecutor when using Client
Set the disableLocalExecution() in ExecutionEnvironment to protected
Add comments to execution environments
Adjusted JVM garbage collection options to enable class unloading.
Disable also local environment in client submission settings.
TuplePairComparatorTests
Add tests for TupleLeadingFieldComparator
Fix for branching merging logic in BulkIterationPlanNode
Moved record API example jobs to stratosphere-tests
Remove some of the redundant Record examples
  - some KMeans Variants
  - some WordCount variants
Add javaDoc comments to ExecutionEnvironment (final), DataSet (parts), InputTypeConfigurable, and ResultTypeQueryable.
Expose WriteMode in JAPI. #781
Pass Configuration parameters to runtime operators in JAPI (+test)
Refactored and unifid Java API example jobs