Move $wgMesssageDirs outside of the extension function

The script that looks for $wgMessageDirs on the WMF cluster doesn't call extension functions, 
so consequently messages aren't loaded.
Merge pull request #13 from legoktm/patch-1

Move $wgMesssageDirs outside of the extension function