Prevent indexing of old versions of a page (fixes #768)
Add a test for issue #772
Merge pull request #772 from zorun/master

Prevent indexing of old versions of a page (fixes #768)