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
spec helper and gets loaded only by spec_helper.rb.
renamed method
Merge pull request #144 from alphagov/integration_test_refactor

Extracted out logic to convert erb template into yaml