add controller method and twig extension for easier csrf handle in links

Conflicts:
	Controller/BaseController.php
	Resources/config/services.yml