SHDP-181 Adding build option -Dspring4 to build and test against Spring 4.0

Adding 4.0.0.M3 as the Spring 4 version

Changing Spring 3 version to be 3.1.4.RELEASE