WIP: configure: Take source URLs from the spec files instead of conf.json

This change makes configure.py take source URLs from spec files rather than from conf.json.   For tarballs this is straightforward;  for Git repositories it's a bit more complicated because of the need to preprocess the spec file.

I'm planning to do some more refactoring, particularly around the Git case.    Comments welcome!