Bug 1096839: add BMP support to shared/js/media/image_size.js to fix Gallery open activity

remove the now unused MAX_FILE_SIZE variable
Merge branch 'v2.0' into v2.0m.