render nested templates correctly when refreshing

When refreshing a node in an existing page, set the site in the context
so nested snippets can be resolved correctly.
Merge pull request #839 from yrb/feature/nested_snippets

render nested templates correctly when refreshing