Upgrade to Spring Framework 3.2.1 and fix warnings