Changed $article->doPurge() to only be called for SMW < 1.9

Change-Id: Iebc76cf9b23e9cf1026475a5b3ac3bc2d8af30e8
Merge "Changed $article->doPurge() to only be called for SMW < 1.9"