cherry picked:
* added Java process to validate R scripts
* improved annotation parser and unit tests
* use complex input for script validation process
* add R script with utility functions (and move/rename it)
* improve exception handling for annotation validation

Addtionally: fix tests with new configuration api