Fix the references to external modules

They have been renamed in modern versions of the pipeline2
Fix the catalog to comply with modern pipeline conventions
Build the deb
Add xspec tests