Bug 1105977 - [FFOS2.0][Woodduck][SMS] The discard function is wrong

Conflicts:
	apps/sms/test/unit/activity_handler_test.js
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
Test CI