GRAILS-10623 - added namesapce and controllerClass to commonsWebAPI and FilterConfig

This is code from https://github.com/grails/grails-core/pull/457 that I have squashed into a single commit and put on the master branch for now.