Moved some mime type methods to MediaUtils, and moved MediaUtils class to the 'util' folder.
Before uploading media, get the correct mime type and file name. Fixes #1081.
Get the file extension through the mimeType instead of the file path. Fixes issue where huge file path would be displayed for queued media items.
Moved file extension code out to its own method so that it can be used in MediaGridAdapter easily.
Merge branch 'develop' into issue/1081-photos-app-media-library

Conflicts:
	src/org/wordpress/android/ui/media/MediaBrowserActivity.java
	src/org/wordpress/android/ui/media/MediaGridAdapter.java
	src/org/wordpress/android/ui/media/MediaItemFragment.java
	src/org/wordpress/android/util/MediaUtils.java
Removing an unneeded toUpperCase()
Merge pull request #1082 from wordpress-mobile/issue/1081-photos-app-media-library

Fix for broken media uploads