Use the new validation mechanism for vulnerability/fragility functions

Now commonlib can read and validate directly a lot more input files.