SEC-2035: Add template.mf to crypto
SEC-1961: SubjectDnX509PrincipalExtractor supports CN as last segement
SEC-1961: SubjectDnX509PrincipalExtractorTests for CN as last segment

See https://github.com/SpringSource/spring-security/pull/8
Update to Groovy 1.8
Update to Gradle 1.1
SEC-2058: Remove mavenLocal() from buildSrc
SEC-2055: SaveContextServletOutputStream flush/close delegates to original ServletOutputStream instead of using super
SEC-2041: SaveContextServletOutputStream/SaveContextPrintWriter delegate all methods
SEC-2045: AbstractPreAuthenticationFilter afterPropertiesSet invokes super
SEC-2036: Set cookie path to / when default context path in CookieClearingLogoutHandler
Upgrade to Gradle 1.2
Revert "SEC-2045: AbstractPreAuthenticationFilter afterPropertiesSet invokes super"

This commit contains the wrong JIRA ID.

This reverts commit c53fd99430739ced5289c6bbe5c50563710fa610.
SEC-2038: AbstractPreAuthenticationFilter afterPropertiesSet invokes super
SEC-2060: Add constructor with caused by to PreAuthenticatedCredentialsNotFoundException
SEC-2061: Fix typo in messages.properties
SEC-2057: ConcurrentSessionFilter is now after SecurityContextPersistenceFilter

Previously, ConcurrentSessionFilter was placed after SecurityContextPersistenceFilter
which meant that the SecurityContextHolder was empty when ConcurrentSessionFilter was
invoked. This caused the Authentication to be null when performing a logout. It also
caused complications with LogoutHandler implementations that would be accessing the
SecurityContextHolder and potentially clear it out expecting that
SecurityContextPersistenceFilter would then clear the SecurityContextRepository.

The ConcurrentSessionFilter is now positioned after the
SecurityContextPersistenceFilter to ensure that the SecurityContextHolder is populated
and cleared out appropriately.
SEC-2045: AbstractAuthorizeTag supports custom WebInvocationPrivilegeEvaluator
SEC-2025: SecurityContextLogoutHandler removes Authentication from SecurityContext

Previously there was a race condition could occur when the user attempts to access
a slow resource and then logs out which would result in the user not being logged
out.

SecurityContextLogoutHandler will now remove the Authentication from the
SecurityContext to protect against this scenario.
SEC-1939: Update SwitchUserFilter logger to use debug

Previously the SwitchUserFilter was logging as an error and then
throwing an Exception immediately after. This is not correct, since
whomever is catching the Exception should choose to log an error or not.

Now the log statement is at a debug level.
SEC-2031: PreInvocationAuthorizationAdviceVoter supports subclasses