Rewrote creation of resized pictures to be more memory-efficient
uploadFileHelper now uses a single try/catch/finally
Merge pull request #965 from wordpress-mobile/issue/950-image-resize

I've merged this PR, but thinking that even <code>public Bitmap getThumbnailForWPImageSpan(Context ctx, byte[] bytes, String orientation)</code> could be improved using the same approach.