fix for MOSYNC-2873 ImagePickerTest crashes on Android if you check the "return image data with the event" option

- a fix in the runtime -> made sure that the bitmap exists and hasn't
already been recycled before recycling
- the main fix: the ImagePickerTest where the image placeholder was
being destroyed while the image was active (i.e. displayed)
amended fix for MOSYNC-2645
fix for warnings in MoSyncThread.jave

+ replaced new Integer(intValue) with the recommended
Integer.valueOf(intValue)
Integer.valueOf() no longer necessary in some places

as of lately Java compiler can take care of ints
Merge pull request #483 from florinleu/ThreeThreeOne

Fixed Android build error after updating SDK tools to 22.0.1
Merge pull request #484 from chovus/ThreeThreeOne

ImagePickerTest crashes on Android
MOSYNC-3131. Changed the url used in ParallelDownloader test app.
MOSYNC-3131. Fixed mutex used for CRITICAL_SECTION.
Merge pull request #489 from mvasiliniuc/ThreeThreeOne_CircularFifoFix

MOSYNC-3131 ParallelDownloader is unstable on iOS
MOSYNC-3332: Local Notification icon isn't removed from the notification bar after consumed or unscheduled.