make decl and init of our-scoped arrays/hashes work

This will install a container for the given type
within the package and adds the lookup. This reverts
my (stupid) previous patch which basically treated an
our-scoped var like if is was a my-scoped variable
declared directly within the package block.
Fixes RT 100560, 102876, 117083, 117775, 115630, 107270