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