Split spring configuration so that some of it can be included by unit tests.
Added simple controller test using spring 3.2 test helpers.
Renamed xml namespace identifiers.
Basic refactoring.