31487 pkg-build-gate can use local mirror

This actually addresses a number of issues:

 - pkg-build-gate can use a local mirror
 - run pkglint after generating a package
 - can specify the repository to upload to
 - can build a package w/o the full fmri