Marked thymeleaf-spring dependencies as optional
Added utility to determine Spring version
Generalized AuthUtils code for Spring 3 and Spring 4