(Someday) support fragment loading

Create an event handler that can be triggered when the page's content
has been changed. This means that fragment loading simply involves
swapping out the content and calling `$(document.body).trigger('loaded')`,
which will set up all of the scripty things on the page.