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 :) )
Because it is inline also here: https://github.com/akozumpl/hawkey/blob/master/src/nevra.c#L102
It's just helper. Why it shouldn't be inline?