Make cookbook compatible with Solr "1.4.(0|1)"

We have a project which requires an older (ancient?) version of Solr. This was the cookbook that came closest to our needs, but it required a few tweaks to make it work with the older Solr version.