Adds AppCache updating

If the AppCache has changed, the user is prompted to update the page.
The message isn't pretty, but it works.