Added mainPage to WikiVariables
mainPage -> mainPageTitle; getDBkey -> getPrefixedDBkey
Merge pull request #5668 from Wikia/HG-438

HG-438 Main page title in Mercury's WikiVariables
merged origin/dev and resolved conflict in MercuryApi.class.php