Add unregister_template_handler to prevent leaks.
Merge pull request #15590 from zuhao/refactor_actionview_register_template_handler

Add unregister_template_handler to prevent leaks.

Conflicts:
	actionview/CHANGELOG.md