Revert "Work with SpringSessionSynchronization changes from Spring 4.1.0.RC2 "

I took a closer look at this after merging and now I am confused by the int.class argument. We will take another look at this when one of us has time to test with Spring 4.1.

This reverts commit a292b50c2d1f6402360c69d161f886e1022a65b4.