Split install_qa_check() into install-qa-check.d scripts

Convert the horrendous install_qa_check() function into a plug-in system
that calls separate QA checking scripts from install-qa-check.d.