Stop application template from duplicating on re-render

Some cases might cause the `application` template to re-render (such as changing the context in the `ApplicationRoute#model` hook).

Currently the application template is duplicated.  This PR tears down the existing `application` view before re-rendering.