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

nit: replacing setTimeout with Promise or simply remove this comment