CAS-1462: Upgrade Spring/SWF dependencies to 4.x and 2.3.3

Had to slightly adjust the xml syntax in some areas, but everything else seems to work just fine as it did. 
This change has nothing to do with the libraries upgrade, right?