fix(Security): enable CSRF cookie based authentication

 Add a Spring Security filter to set a cookie with the CSRF token generated by Spring.
 Configure $http service to read the CSRF token form the cookie and put it in a header known by Spring

 linked to #363
test(AuthenticationSharedService): with CSFR logout call is a POST
fix(Swagger): add CSFR token to request
fix(Security): enable CSRF cookie based authentication

 Add a Spring Security filter to set a cookie with the CSRF token generated by Spring.
 Configure $http service to read the CSRF token form the cookie and put it in a header known by Spring

 linked to #363
fix(Swagger): add CSFR token to request
fix(Security): enable CSRF for cookie based authentication in V2

 Add a Spring Security filter to set a cookie with the CSRF token generated by Spring.
 Configure $http service to read the CSRF token form the cookie and put it in a header known by Spring

 linked to #363
fix(Security): send CSRF cookie on token change only
Merge branch 'I#363_EnableCSRF' of https://github.com/tgillieron/generator-jhipster into I#363_EnableCSRF

Conflicts:
	app/index.js
	app/templates/src/main/java/package/web/filter/_CsrfTokenGeneratorFilter.java
	app/templates/src/main/webapp/scripts/_app.js
	app/templates/src/main/webapp/scripts/_services.js
	app/templates/src/test/javascript/spec/_servicesSpec.js
fix(CSRF): remove cookie after logout
fix(Security): remove scripts and html from spring security filter chain
fix(CSRF): remove cookie after logout
fix(Navigation): in $rootScope.back() go to 'home' if previous state do not exist
style(Generator): add indent
refacto(CSRF): rename filter class and variables
Fix #829
Merge branch 'I#363_EnableCSRF' of github.com:tgillieron/generator-jhipster into tgillieron-I#363_EnableCSRF
Formatting and wording
Removed useless "final" keywords
Added unit tests for the SecurityUtils
Merge branch 'tgillieron-I#363_EnableCSRF'