Add loading of messages using $wgMessagesDirs

Change-Id: Ib7beb523d5765cba0743eb46fc4e5bd67860130a