Bug 1082073 - [Messages] Use promises when resizing images r=schung

I thought it was cleaner; the function has everything it needs to work