Add schema and parser for .PKGINFO

We need a JSON schema and a parser for the .PKGINFO format (when consuming packages).