Fix crash when enter actionmode which contains "Share" option

Fix actionProviderClass to actionbarsherlock class
Show image thumbnail for image file type
Fix compiler warnings