removed references to ConfigurationHolder and ApplicationHolder and replaced them with the not deprecated grails.util.Holders

Because the alls are deprecated and the newer ways were already used in some places I removed all deprecated calls for these configuration calls.