Change to support both known structures of repo index.yml

This change is to ensure that both:
<version> : <url>

and
<version> : 
    url: <url>
    license: <url>

Formats can be parsed by the buildpack.

rspec added to test both scenario's.