Add unregister_template_handler to prevent leaks.

A few places in the test codebase had `ActionView::Template.register_template_handler`, but the handlers were not removed after the tests.

This patch adds a new method `unregister_template_handler` to `ActionView::Template::Handlers`, and makes sure related tests are cleaned up properly.

cc @senny
You're right. I'm sorry the name of the test is misleading. How about `test_unregistering_extension_and_template_handler_before_render`?