Extracted out logic to convert erb template into yaml

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