Pkg: simplify check_metadata and call it after register or tag.
Pkg: move build and fixup code to the same region of pkg/entry.jl.
Pkg.status: handle lack of required or additional packages better.