honor package override platform options

The api and registry recipes did not honor the package_override platform
options.  This includes some more tests.

Change-Id: Ieee6c302cb4bd62f37198867b735bc3867589853