Resize uploaded profile images

Set a max width on the images uploaded by
using GraphicsMagick's resize functionality.

This introduces a new dependency, though it is
provided by Nodejitsu.

Change-Id: I4bbb862b149cddee7711b3b4ecc961ebcdcf9274