Merge pull request #2011 from wagenet/if-improvements

Better handling of complex {{#if}} targets
Merge pull request #2010 from wagenet/linkto-context

{{linkTo}} shouldn't change view context - Fixes #1879
Better handling of DOM properties

Fixes #1974, #1975