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.