Add version check

GoogleLogin v2.x requires MediaWiki 1.24, add a check for this.

Change-Id: I6e65a7e69bcf8b7cc1db9f8023fd4418071f6e07
(cherry picked from commit e58808065111df3d2fdbba186554ac64e2314c90)