fix immediateDelivery
use immediateDelivery for registerBeans
remove TODO
Add servletContext to app contexts
Fix grailsApplication bean registration
fix bean config, add missing config variable