Provide information about packages refered by advisories.

It's basically copy&paste of advisoryref* files with s/ref/pkg.
Also the deprecated functions were dropped. (And one new added :) )
It's also wrong there. `inline` in this case probably doesn't do what you expect it to (neither speed-wise nor code-generation wise) and it makes the code look bad. Save it for oneliners where we get measurable speed gains from inlining them.