Fix context leaks in ActionHooks.

Review Request #5762 — Created May 2, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
e3fa7c5...

Reviewers

Context.update() implies a push(), but the ActionHooks weren't popping.
This meant that state would be leaked not only between hooks, but into
the main template as well.

We now do a pop() after rendering the template.

Unit tests pass.