added helper for erb to yaml conversion

The method ```generate_input_yaml_config``` is duplicated in multiple
integration specs. Extracted this logic into ```ErbHelper```.

```ErbHelper``` is a test helper and gets loaded only by spec_helper.rb.