GRAILS-8976 enable autowiring of Filters during unit test

Rebased this change against the 2.1.x branch per Graeme's request. This should supersede pull request #341 since that was made against master.