[DIC]: Move SMWHooks::onParserAfterTidy to SMW\ParserAfterTidy

SMW\ParserAfterTidy
Code coverage: 100%
CRAP: 5

+ Adopt DIC
+ Add appropriate test

Bug 50153: Checks explicitly $title->isSpecialPage() + add test case

Change-Id: If170de666883daa1806c558582d35b9d5c4cd4d1
Merge "[DIC]: Move SMWHooks::onParserAfterTidy to SMW\ParserAfterTidy"