Add support for frameworks

Basic changes to support (ie not completely fail at) adding a custom static framework to a vendor package. Works on my machine&trade;. It will need some use in anger before we publicise the capability.