Fix for bug6940. Related pages" links only work intermittently

When calling SearchIndexPopulatingPageStore.get to fetch a page, update the search index if the latest rendered contents of the page (possibly modified by changed output of search macros), or attributes have changed.

https://bugs.corefiling.com/show_bug.cgi?id=6940