Updated to Spring 4 and newer versions for other libraries too