AST-1514: dependency checker
Fix for several issues with the version and dependency checker. I noticed that, for me, it didn't recognize the WSClean version commit hash, and couldn't extract the CasaCore dependency location that was being used by python (I was using the pip-installed version instead of the spack module). For the dependency checker, there were a number of corner cases I had to consider, it is now able to deal with:
- optional hashes behind the filename of the target_dependency (before the extension)
- optionally some (ID/)number after the extension, i.e. a "second" extension.
With respect to the version checker, the version message likely changed a bit which caused it to no longer function. That's why I changed the extraction of the version/commit hash such that it is now based on the line-number instead of the word-number.
Finally, I also found why the EVERYBEAM_DATADIR env. var. the pipeline sets didn't work: the path was slightly off.