Bug 1014234 - [B2G][1.4][Flame][MMS] Message report displays message size in KB at minimum

I think we should extract this function to Utils and make a proper unit test for it.