code cleanup: moving shortNumForMsg method to MWService
adding documentation for shortNumForMsg
adding unit test for MediaWikiService::shortNumForMsg