Use curl instead of wget

`wget` is not present on the original cedar stack, only cedar-14.
update lemmad to 0e31c3f
Merge pull request #1 from lemma/new-discovery

Use new discovery mechanism