Big 'ole update to implement multi-db aware packages. Don't try this yet,I can't *possibly* have gotten all the right files added and removed inone fell swoop!
I relealized that the dynmic trigger code wouldn't work as the trigger is actually being applied to a view. Changed code to use a rule instead, and now everything seems to work. More evaluation required however.