Upgrade dependencies to Spring v3.1.4 and add some missing implementation.