GRAILS-8976 enable autowiring of Filters during unit test

This is a start on enabling auto wiring for filters in unit tests. Tried to make the change transparent to any other code relying on these classes. Probably needs some touch-up here and there.