Fix Blaze.getElementController

We had a bug in which event handlers inside {{#if}} blocks
didn't see the data context.

I'll commit a test that would have caught this after this commit.