Cleaned up APM handling of inherited parameters so that deletion of a dependency works well now, the parameters page with the APM only shows parameters specified in the package (rather than include inherited ones), and the XML file is correclty written.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the warnings during initial install (only for acs-kernel, there are a lot elsewhere!)
2. Added "embeds" for postgresql and partially for oracle.
3. Added global parameters for postgresql and partially for oracle.