Update to spring framework 4.0 and spring security 3.2