I couldn’t reproduce #530, but I think some of these changes should help:

 * Removed the blog object from the post model, instead just use post.getBlogID to build the blog object when we need it.
 * Ensure we have a valid blog object in PostUploadService before attempting to upload the post.
 * use notNullStr() on getMaxImageWidth() in the blog model.

I also noticed that we were unnecessarily storing an ID to remember the spinner selection for the max image width. We can just use the Adapter’s getPosition() for that so I deprecated it.
Fixed #275 - better handling of galleries
Added top/bottom margin to gallery images
Posts that have been unliked are no longer shown in "Posts I Like"
Fix #545: Update build.gradle to make it work with gradle-android 0.7.+

* Remove unused libs/*.jar files (fetched from the maven repository)
* Update gradle wrapper to gradle 1.9
exclude some files from packaging to avoid duplicates in final apk
Merge pull request #535 from wordpress-mobile/issue/530-post-upload-service-crash

Potential fixes for #530
Merge branch 'issue/545-update-gradle-android-0.7' of https://github.com/wordpress-mobile/WordPress-Android into issue/327-unliked-in-posts-I-like
Posts that are unliked are now removed from "Posts I Like" when the user taps the refresh icon
Posts that are unliked are now removed from "Posts I Like" when the user taps the refresh icon
Merge pull request #550 from wordpress-mobile/issue/545-update-gradle-android-0.7

Fix #545 update gradle android 0.7
Merge pull request #540 from wordpress-mobile/issue/327-unliked-in-posts-I-like

Fixes #327 - unliked posts continue to show in "Posts I Like"
Tiled gallery images are now requested at a size that matches the width of the ListView item
Merge pull request #537 from wordpress-mobile/issue/275-reader-galleries

Fixed #275 - better handling of galleries
Merge branch 'develop' into issue/548-gif-support

Conflicts:
	src/org/wordpress/android/util/PostUploadService.java